git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
3a0f269
)
submodule update: make use of the existing fetch_in_submodule function
author
Stefan Beller
<redacted>
Wed, 25 May 2016 22:00:04 +0000
(15:00 -0700)
committer
Junio C Hamano
<redacted>
Wed, 25 May 2016 22:39:50 +0000
(15:39 -0700)
Signed-off-by: Stefan Beller <redacted>
Signed-off-by: Junio C Hamano <redacted>
git-submodule.sh
patch
|
blob
|
history
diff --git
a/git-submodule.sh
b/git-submodule.sh
index 5a4dec050b2ebdbe8f9674666ddaabb4c0e193f2..7698102b9c41cac6791304c2604e4b1b39bbe5b7 100755
(executable)
--- a/
git-submodule.sh
+++ b/
git-submodule.sh
@@
-640,7
+640,7
@@
cmd_update()
if test -z "$nofetch"
then
# Fetch remote before determining tracking $sha1
-
(sanitize_submodule_env; cd "$sm_path" && git-fetch)
||
+
fetch_in_submodule "$sm_path"
||
die "$(eval_gettext "Unable to fetch in submodule path '\$sm_path'")"
fi
remote_name=$(sanitize_submodule_env; cd "$sm_path" && get_default_remote)
git clone https://git.99rst.org/PROJECT