Makefile: pull_submodules cleaning

Empirical testing confirms that pulling the url again is enough
This commit is contained in:
Carl Fürstenberg 2011-03-22 23:18:15 +01:00
parent 7705c35b14
commit 50e8837207

View file

@ -111,7 +111,7 @@ update_submodules:
# update the submodules to the latest at the most logical branch
pull_submodules:
@@git submodule foreach "git pull origin \$$(git branch --no-color --contains \$$(git rev-parse HEAD) | grep -v \( | head -1)"
@@git submodule foreach "git pull \$$(git config remote.origin.url)"
@@git submodule summary
pull: pull_submodules