diff options
author | Jan Holesovsky <kendy@collabora.com> | 2018-11-22 11:52:21 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2018-11-22 11:53:07 +0100 |
commit | eea439b4b1305449616e8d0d368f3ccff1a7eca9 (patch) | |
tree | 6e2a332c98dc5bcce12b18c639ff825f3c975aaf /.git-hooks | |
parent | e1f067151fe853a9e8688a02d78670ad40d5f1d1 (diff) |
git hooks: Tell what to do in another problematic submodules case.
Change-Id: I6247df16c021c13c97471cae16d3a1c0f3ddc691
Diffstat (limited to '.git-hooks')
-rwxr-xr-x | .git-hooks/pre-commit | 6 |
1 files changed, 6 insertions, 0 deletions
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); } |