Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
pack-objects: name pack files after trailer hash
[gitweb.git]
/
branch.c
diff --git
a/branch.c
b/branch.c
index d31b354d487e43f710206bbafbb130ab96d87637..9e6c68edaf90f27cf447ad1522da6d7de7827141 100644
(file)
--- a/
branch.c
+++ b/
branch.c
@@
-290,7
+290,7
@@
void create_branch(const char *head,
hashcpy(sha1, commit->object.sha1);
if (!dont_change_ref) {
- lock = lock_any_ref_for_update(ref.buf, NULL, 0);
+ lock = lock_any_ref_for_update(ref.buf, NULL, 0
, NULL
);
if (!lock)
die_errno(_("Failed to lock ref for update"));
}