X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=receive-pack.c;h=d3c422be58c5ee1af7e75cf4186bc9bbfb19ec30;hb=8e4a91bd780b89c7337f281a8601f2e0cae108fc;hp=26aa26bcb5089adcf400d12b673519e328b49a23;hpb=bff898b894815ad291b35d213f1c022d1d16a9b9;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";