Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
refs: factor delete_ref loose ref step into a helper
[gitweb.git]
/
branch.c
diff --git
a/branch.c
b/branch.c
index c5c6984cb5266c27d3c13aa6e6aacaab56e112c0..f2d383fa7723a1f7a77bee6c5bd9f323766f6caf 100644
(file)
--- a/
branch.c
+++ b/
branch.c
@@
-291,7
+291,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"));
}