Kaydet (Commit) 27925032 authored tarafından Miklos Vajna's avatar Miklos Vajna

g: ignore submodule changes

Change-Id: I6125dd018615bc7aa18bacc838ea602ccb0fabc1
üst 1b103776
......@@ -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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment