X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=builtin-receive-pack.c;h=7f9f134806766244bf1eb3de2de3a823a62b180a;hb=efcce2e1f0b37aed045d3e2b747380adf418bdd2;hp=2c0225c89a44a28150806608ea3956c44e27ef6f;hpb=550806439402877e6dab22cacfc6de8757d18593;p=git.git diff --git a/builtin-receive-pack.c b/builtin-receive-pack.c index 2c0225c89..7f9f13480 100644 --- a/builtin-receive-pack.c +++ b/builtin-receive-pack.c @@ -236,7 +236,7 @@ static const char *update(struct command *cmd) warning ("Allowing deletion of corrupt ref."); old_sha1 = NULL; } - if (delete_ref(name, old_sha1)) { + if (delete_ref(name, old_sha1, 0)) { error("failed to delete %s", name); return "failed to delete"; }