summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1f2de76)
raw | patch | inline | side by side (parent: 1f2de76)
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>
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
case "$taglist" in
'') ;;
?*)
+ # do not deepen a shallow tree when following tags
+ shallow_depth=
fetch_main "$taglist" ;;
esac
esac