Skip to content

Commit 629444a

Browse files
mjggitster
authored andcommitted
sequencer: do not translate command names
When action_name is used to denote a command `git %s` do not translate since command names are never translated. Suggested-by: Johannes Schindelin <[email protected]> Signed-off-by: Michael J Gruber <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 1c8dfc3 commit 629444a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sequencer.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2422,15 +2422,15 @@ static int read_and_refresh_cache(struct repository *r,
24222422
if (repo_read_index(r) < 0) {
24232423
rollback_lock_file(&index_lock);
24242424
return error(_("git %s: failed to read the index"),
2425-
_(action_name(opts)));
2425+
action_name(opts));
24262426
}
24272427
refresh_index(r->index, REFRESH_QUIET|REFRESH_UNMERGED, NULL, NULL, NULL);
24282428

24292429
if (index_fd >= 0) {
24302430
if (write_locked_index(r->index, &index_lock,
24312431
COMMIT_LOCK | SKIP_IF_UNCHANGED)) {
24322432
return error(_("git %s: failed to refresh the index"),
2433-
_(action_name(opts)));
2433+
action_name(opts));
24342434
}
24352435
}
24362436

0 commit comments

Comments
 (0)