]> asedeno.scripts.mit.edu Git - git.git/blobdiff - builtin-tag.c
Fix git branch -m for symrefs.
[git.git] / builtin-tag.c
index f2853d08c77368b37b40c7ea51f5a124208d385f..5b141c584680ecc2362fc0e036e01dbeefa4ee90 100644 (file)
@@ -125,7 +125,7 @@ static int for_each_tag_name(const char **argv, each_tag_name_fn fn)
 static int delete_tag(const char *name, const char *ref,
                                const unsigned char *sha1)
 {
-       if (delete_ref(ref, sha1))
+       if (delete_ref(ref, sha1, 0))
                return 1;
        printf("Deleted tag '%s'\n", name);
        return 0;