am: fix filename in safe_to_abort() error message
Signed-off-by: Stephan Beyer <s-beyer@gmx.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
a274e0a036
commit
ccd71b2f38
@ -2124,7 +2124,7 @@ static int safe_to_abort(const struct am_state *state)
|
|||||||
|
|
||||||
if (read_state_file(&sb, state, "abort-safety", 1) > 0) {
|
if (read_state_file(&sb, state, "abort-safety", 1) > 0) {
|
||||||
if (get_oid_hex(sb.buf, &abort_safety))
|
if (get_oid_hex(sb.buf, &abort_safety))
|
||||||
die(_("could not parse %s"), am_path(state, "abort_safety"));
|
die(_("could not parse %s"), am_path(state, "abort-safety"));
|
||||||
} else
|
} else
|
||||||
oidclr(&abort_safety);
|
oidclr(&abort_safety);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user