Permalink
Browse files

Makefile: pull_submodules cleaning

Empirical testing confirms that pulling the url again is enough
  • Loading branch information...
azatoth committed Mar 22, 2011
1 parent 7705c35 commit 50e8837207bbfb251af33280b8ef333f16c18e72
Showing with 1 addition and 1 deletion.
  1. +1 −1 Makefile
View
@@ -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

0 comments on commit 50e8837

Please sign in to comment.