diff options
Diffstat (limited to 'builtin-receive-pack.c')
-rw-r--r-- | builtin-receive-pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-receive-pack.c b/builtin-receive-pack.c index 2c0225c89a..7f9f134806 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"; } |