Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branches 'lh/submodules' and 'pb/am'
[gitweb.git]
/
receive-pack.c
diff --git
a/receive-pack.c
b/receive-pack.c
index 26aa26bcb5089adcf400d12b673519e328b49a23..d3c422be58c5ee1af7e75cf4186bc9bbfb19ec30 100644
(file)
--- 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";