Skip to content
Browse files

Makefile: pull_submodules cleaning

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