X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=receive-pack.c;h=d3c422be58c5ee1af7e75cf4186bc9bbfb19ec30;hb=792d2370f975f032a708cb35044193b5b5310840;hp=26aa26bcb5089adcf400d12b673519e328b49a23;hpb=94b9816c5ce5bfc8bf4a8baf2128fa2d429a6898;p=git.git diff --git a/receive-pack.c b/receive-pack.c index 26aa26bcb..d3c422be5 100644 --- a/receive-pack.c +++ b/receive-pack.c @@ -209,7 +209,7 @@ static const char *update(struct command *cmd) return NULL; /* good */ } else { - lock = lock_any_ref_for_update(name, old_sha1); + lock = lock_any_ref_for_update(name, old_sha1, 0); if (!lock) { error("failed to lock %s", name); return "failed to lock";