Skip to content

Commit b014a44

Browse files
committed
Merge branch 'mg/sequencer-untranslate-reflog'
The sequencer machinery translated messages left in the reflog by mistake, which has been corrected. * mg/sequencer-untranslate-reflog: sequencer: do not translate command names sequencer: do not translate parameters to error_resolve_conflict() sequencer: do not translate reflog messages
2 parents a0ab573 + 629444a commit b014a44

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

sequencer.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ static struct tree *empty_tree(struct repository *r)
537537
static int error_dirty_index(struct repository *repo, struct replay_opts *opts)
538538
{
539539
if (repo_read_index_unmerged(repo))
540-
return error_resolve_conflict(_(action_name(opts)));
540+
return error_resolve_conflict(action_name(opts));
541541

542542
error(_("your local changes would be overwritten by %s."),
543543
_(action_name(opts)));
@@ -575,7 +575,7 @@ static int fast_forward_to(struct repository *r,
575575
if (checkout_fast_forward(r, from, to, 1))
576576
return -1; /* the callee should have complained already */
577577

578-
strbuf_addf(&sb, _("%s: fast-forward"), _(action_name(opts)));
578+
strbuf_addf(&sb, "%s: fast-forward", action_name(opts));
579579

580580
transaction = ref_transaction_begin(&err);
581581
if (!transaction ||
@@ -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

@@ -3753,7 +3753,7 @@ static int do_reset(struct repository *r,
37533753
init_checkout_metadata(&unpack_tree_opts.meta, name, &oid, NULL);
37543754

37553755
if (repo_read_index_unmerged(r)) {
3756-
ret = error_resolve_conflict(_(action_name(opts)));
3756+
ret = error_resolve_conflict(action_name(opts));
37573757
goto cleanup;
37583758
}
37593759

0 commit comments

Comments
 (0)