read-cache.c: split racy stat test to a separate function
[gitweb.git] / sequencer.c
index 77a1266760718b8e5b029636409634e241981888..32aa05ed828dfa3bac79edb83dd8a222560206d3 100644 (file)
@@ -252,7 +252,7 @@ static int fast_forward_to(const unsigned char *to, const unsigned char *from,
        if (!transaction ||
            ref_transaction_update(transaction, "HEAD",
                                   to, unborn ? null_sha1 : from,
-                                  0, 1, sb.buf, &err) ||
+                                  0, sb.buf, &err) ||
            ref_transaction_commit(transaction, &err)) {
                ref_transaction_free(transaction);
                error("%s", err.buf);