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 <Johannes.Schindelin@gmx.de> Signed-off-by: Michael J Gruber <git@grubix.eu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Michael J Gruber committed
Aug 18, 2022 at 15:13 UTC
629444ad45b08618157b3e46431433125f730894
1 file changed
+2
-2
sequencer.c
+2
-2
@@ -2422,7 +2422,7 @@ static int read_and_refresh_cache(struct repository *r,
2422
if (repo_read_index(r) < 0) {
2423
rollback_lock_file(&index_lock);
2424
return error(_("git %s: failed to read the index"),
2425
- _(action_name(opts)));
2425
+ action_name(opts));
2426
}
2427
refresh_index(r->index, REFRESH_QUIET|REFRESH_UNMERGED, NULL, NULL, NULL);
2428
@@ -2430,7 +2430,7 @@ static int read_and_refresh_cache(struct repository *r,
2430
if (write_locked_index(r->index, &index_lock,
2431
COMMIT_LOCK | SKIP_IF_UNCHANGED)) {
2432
return error(_("git %s: failed to refresh the index"),
2433
- _(action_name(opts)));
2433
+ action_name(opts));
2434
}
2435
}
2436