X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=builtin-tag.c;h=5b141c584680ecc2362fc0e036e01dbeefa4ee90;hb=eca35a25a92a1ad725af2a549fc9158488c4cc43;hp=f2853d08c77368b37b40c7ea51f5a124208d385f;hpb=0bb3a0ba9e3cbb283a747e4736bcf7484d076a73;p=git.git diff --git a/builtin-tag.c b/builtin-tag.c index f2853d08c..5b141c584 100644 --- a/builtin-tag.c +++ b/builtin-tag.c @@ -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;