We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbcb0e0 commit 6c979c7Copy full SHA for 6c979c7
sequencer.c
@@ -875,8 +875,7 @@ static int sequencer_rollback(struct replay_opts *opts)
875
return rollback_single_pick();
876
}
877
if (!f)
878
- return error(_("cannot open %s: %s"), git_path_head_file(),
879
- strerror(errno));
+ return error_errno(_("cannot open %s"), git_path_head_file());
880
if (strbuf_getline_lf(&buf, f)) {
881
error(_("cannot read %s: %s"), git_path_head_file(),
882
ferror(f) ? strerror(errno) : _("unexpected end of file"));
0 commit comments