Merge branch 'kb/maint-prune-rmdir-closedir'
[gitweb.git] / builtin / fetch.c
index 8ec4eae3eb78925de41253264380ea5585b0f091..65f5f9b72f92ec64ac5ad1ad264f78199337aba6 100644 (file)
@@ -585,7 +585,7 @@ static void find_non_local_tags(struct transport *transport,
 
        for_each_ref(add_existing, &existing_refs);
        for (ref = transport_get_remote_refs(transport); ref; ref = ref->next) {
-               if (prefixcmp(ref->name, "refs/tags"))
+               if (prefixcmp(ref->name, "refs/tags/"))
                        continue;
 
                /*