{"thread":{"id":"43614","subject":"[PATCH 4/5] git-fetch: Reset shallow_depth before auto-following tags.","startedAt":"2006-11-24T14:59:12Z","lastAt":"2006-11-24T14:59:12Z","messageCount":1,"participants":["Alexandre Julliard"],"isPatch":true,"patchVersion":1,"patchTotal":5},"messages":[{"id":"295993","messageId":"87odqwubzz.fsf@wine.dyndns.org","threadId":"43614","inReplyTo":null,"subject":"[PATCH 4/5] git-fetch: Reset shallow_depth before auto-following tags.","fromName":"Alexandre Julliard","fromEmail":"julliard@winehq.org","sentAt":"2006-11-24T14:59:12Z","receivedAt":"2006-11-24T14:59:12Z","isPatch":true,"sender":{"key":"julliard@winehq.org","avatar":null},"body":"Otherwise fetching the tags could also fetch commits up to the\nspecified depth, which isn't the expected behavior.\n\nSigned-off-by: Alexandre Julliard <julliard@winehq.org>\n---\n git-fetch.sh |    2 ++\n 1 files changed, 2 insertions(+), 0 deletions(-)\n\ndiff --git a/git-fetch.sh b/git-fetch.sh\nindex 0b1e6d1..f0645d9 100755\n--- a/git-fetch.sh\n+++ b/git-fetch.sh\n@@ -461,6 +461,8 @@ case \"$no_tags$tags\" in\n \tcase \"$taglist\" in\n \t'') ;;\n \t?*)\n+\t\t# do not deepen a shallow tree when following tags\n+\t\tshallow_depth=\n \t\tfetch_main \"$taglist\" ;;\n \tesac\n esac\n-- \n1.4.4.1.ga335e\n\n-- \nAlexandre Julliard\n"}]}