Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
submodule update: allow '.' for branch value
[gitweb.git]
/
git-submodule.sh
diff --git
a/git-submodule.sh
b/git-submodule.sh
index 41aff65fac2ec88534cb57c65931c0a26e6dfcf2..8c5e8982ab9980daf14b144a5b41b191289fb1a2 100755
(executable)
--- a/
git-submodule.sh
+++ b/
git-submodule.sh
@@
-614,7
+614,7
@@
cmd_update()
if test -n "$remote"
then
- branch=$(g
et_submodule_config "$name" branch master
)
+ branch=$(g
it submodule--helper remote-branch "$sm_path"
)
if test -z "$nofetch"
then
# Fetch remote before determining tracking $sha1