Skip to content

Commit 0ee87cd

Browse files
committed
Merge branch 'ob/rollback-after-commit-lock-failure'
Code clean-up. * ob/rollback-after-commit-lock-failure: sequencer: remove pointless rollback_lock_file()
2 parents 62df03c + 2da2cc9 commit 0ee87cd

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

sequencer.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3676,7 +3676,6 @@ static int safe_append(const char *filename, const char *fmt, ...)
36763676
}
36773677
if (commit_lock_file(&lock) < 0) {
36783678
strbuf_release(&buf);
3679-
rollback_lock_file(&lock);
36803679
return error(_("failed to finalize '%s'"), filename);
36813680
}
36823681

0 commit comments

Comments
 (0)