fetch-pack: Do not fetch tags for shallow clones.
authorAlexandre Julliard <julliard@winehq.org>
Fri, 24 Nov 2006 15:00:13 +0000 (16:00 +0100)
committerJunio C Hamano <junkio@cox.net>
Fri, 24 Nov 2006 23:42:50 +0000 (15:42 -0800)
commit4bcb310c2539b66d535e87508d1b7a90fe29c083
treede299a8d9a684c095d8ceaa2f02a51c47dd09a63
parentd64d6c9fc712cf6fad9a3ec7f659cf843ee2e18d
fetch-pack: Do not fetch tags for shallow clones.

A better fix may be to only fetch tags that point to commits that we
are downloading, but git-clone doesn't have support for following
tags. This will happen automatically on the next git-fetch though.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
fetch-pack.c