diff options
author | Alexandre Julliard <julliard@winehq.org> | 2006-11-24 17:59:12 +0300 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-11-25 02:42:50 +0300 |
commit | d158631549b87e11f2415622e421546539b09b67 (patch) | |
tree | 0def0ce1e37ac244b366e721b5528f8c3e54c368 | |
parent | 1f2de769812f0adea598269d788c9c75d23e80b8 (diff) |
git-fetch: Reset shallow_depth before auto-following tags.
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>
-rwxr-xr-x | git-fetch.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/git-fetch.sh b/git-fetch.sh index 0b1e6d1071..f0645d97c9 100755 --- 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 |