Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
sequencer: try to commit without forking 'git commit'
[gitweb.git]
/
refs
/
files-backend.c
diff --git
a/refs/files-backend.c
b/refs/files-backend.c
index b7b9e767de8262f3c44873e454f9aebf5610e0cc..2bd54e11aedf0e081072dbb58d327b969d0948bc 100644
(file)
--- a/
refs/files-backend.c
+++ b/
refs/files-backend.c
@@
-2571,7
+2571,7
@@
static int files_transaction_prepare(struct ref_store *ref_store,
ret = lock_ref_for_update(refs, update, transaction,
head_ref, &affected_refnames, err);
if (ret)
-
break
;
+
goto cleanup
;
if (update->flags & REF_DELETING &&
!(update->flags & REF_LOG_ONLY) &&