Merge branch 'ob/rollback-after-commit-lock-failure'

Code clean-up.

* ob/rollback-after-commit-lock-failure:
  sequencer: remove pointless rollback_lock_file()
maint
Junio C Hamano 2023-04-04 14:28:28 -07:00
commit 0ee87cde28
1 changed files with 0 additions and 1 deletions

View File

@ -3676,7 +3676,6 @@ static int safe_append(const char *filename, const char *fmt, ...)
}
if (commit_lock_file(&lock) < 0) {
strbuf_release(&buf);
rollback_lock_file(&lock);
return error(_("failed to finalize '%s'"), filename);
}