X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=builtin%2Ffetch.c;h=1d77e58a00af528d2d883690b30b9bf48df6d2aa;hb=8ee6fc96f0d1800bc570568efe7d83afebd2a64c;hp=b6a5597cbf332fc56b5feabfd29d03c98d4d6686;hpb=0ab8606ebb2dc89f23a6e844ce1d284f693912f9;p=thirdparty%2Fgit.git diff --git a/builtin/fetch.c b/builtin/fetch.c index b6a5597cbf..1d77e58a00 100644 --- a/builtin/fetch.c +++ b/builtin/fetch.c @@ -359,9 +359,6 @@ static struct ref *get_ref_map(struct transport *transport, for (i = 0; i < fetch_refspec_nr; i++) get_fetch_map(ref_map, &fetch_refspec[i], &oref_tail, 1); - - if (tags == TAGS_SET) - get_fetch_map(remote_refs, tag_refspec, &tail, 0); } else if (refmap_array) { die("--refmap option is only meaningful with command-line refspec(s)."); } else {