[Libreoffice-commits] core.git: .git-hooks/pre-commit

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Nov 22 10:54:22 UTC 2018


 .git-hooks/pre-commit |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit eea439b4b1305449616e8d0d368f3ccff1a7eca9
Author:     Jan Holesovsky <kendy at collabora.com>
AuthorDate: Thu Nov 22 11:52:21 2018 +0100
Commit:     Jan Holesovsky <kendy at collabora.com>
CommitDate: Thu Nov 22 11:53:07 2018 +0100

    git hooks: Tell what to do in another problematic submodules case.
    
    Change-Id: I6247df16c021c13c97471cae16d3a1c0f3ddc691

diff --git a/.git-hooks/pre-commit b/.git-hooks/pre-commit
index 6c87dc890483..1f3d21ebff98 100755
--- a/.git-hooks/pre-commit
+++ b/.git-hooks/pre-commit
@@ -257,6 +257,12 @@ To remove the change, you can do:
 
   git submodule update $_
 
+If it fails with 'error: Server does not allow request for unadvertised object',
+run the following:
+
+  git submodule sync
+  git submodule update $_
+
 EOM
             exit(1);
         }


More information about the Libreoffice-commits mailing list