[Libreoffice-commits] core.git: g
Miklos Vajna
vmiklos at suse.cz
Mon Jul 22 03:13:40 PDT 2013
g | 8 ++++++++
1 file changed, 8 insertions(+)
New commits:
commit 27925032cd5aec8805185679e01c687c40bbd617
Author: Miklos Vajna <vmiklos at suse.cz>
Date: Mon Jul 22 11:55:49 2013 +0200
g: ignore submodule changes
Change-Id: I6125dd018615bc7aa18bacc838ea602ccb0fabc1
diff --git a/g b/g
index e273171..4c0184c 100755
--- a/g
+++ b/g
@@ -90,6 +90,14 @@ local hook
for repo in ${SUBMODULES_ALL?} ; do
refresh_submodule_hooks $repo
done
+ # In our workflow, it's always gerrit that does the submodule updates, so
+ # better ignoring them to avoid accidentally including those changes in our
+ # commits.
+ # 'git submodule status' can be still used to see if a submodule has such
+ # changes.
+ for repo in ${SUBMODULES_CONFIGURED?} ; do
+ git config submodule.$repo.ignore all
+ done
popd > /dev/null
}
More information about the Libreoffice-commits
mailing list