projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f2de76
)
git-fetch: Reset shallow_depth before auto-following tags.
author
Alexandre Julliard
<julliard@winehq.org>
Fri, 24 Nov 2006 14:59:12 +0000
(15:59 +0100)
committer
Junio C Hamano
<junkio@cox.net>
Fri, 24 Nov 2006 23:42:50 +0000
(15:42 -0800)
Otherwise fetching the tags could also fetch commits up to the
specified depth, which isn't the expected behavior.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-fetch.sh
patch
|
blob
|
history
diff --git
a/git-fetch.sh
b/git-fetch.sh
index 0b1e6d1071350af34e95a402d7ef53f00d03d8a4..f0645d97c91e1151354b737bb3259313dd07fed8 100755
(executable)
--- a/
git-fetch.sh
+++ b/
git-fetch.sh
@@
-461,6
+461,8
@@
case "$no_tags$tags" in
case "$taglist" in
'') ;;
?*)
+ # do not deepen a shallow tree when following tags
+ shallow_depth=
fetch_main "$taglist" ;;
esac
esac