Windows: Make OpenSSH properly detect tty detachment.
[gitweb.git] / builtin-receive-pack.c
index 2c0225c89a44a28150806608ea3956c44e27ef6f..7f9f134806766244bf1eb3de2de3a823a62b180a 100644 (file)
@@ -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";
                }