File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -269,15 +269,15 @@ static void check_notes_merge_worktree(struct notes_merge_options *o)
269269 if (file_exists (git_path (NOTES_MERGE_WORKTREE )) &&
270270 !is_empty_dir (git_path (NOTES_MERGE_WORKTREE ))) {
271271 if (advice_resolve_conflict )
272- die ("You have not concluded your previous "
272+ die (_ ( "You have not concluded your previous "
273273 "notes merge (%s exists).\nPlease, use "
274274 "'git notes merge --commit' or 'git notes "
275275 "merge --abort' to commit/abort the "
276276 "previous merge before you start a new "
277- "notes merge." , git_path ("NOTES_MERGE_*" ));
277+ "notes merge." ) , git_path ("NOTES_MERGE_*" ));
278278 else
279- die ("You have not concluded your notes merge "
280- "(%s exists)." , git_path ("NOTES_MERGE_*" ));
279+ die (_ ( "You have not concluded your notes merge "
280+ "(%s exists)." ) , git_path ("NOTES_MERGE_*" ));
281281 }
282282
283283 if (safe_create_leading_directories_const (git_path (
Original file line number Diff line number Diff line change @@ -225,7 +225,7 @@ test_expect_success 'cannot do merge w/conflicts when previous merge is unfinish
225225 test -d .git/NOTES_MERGE_WORKTREE &&
226226 test_must_fail git notes merge z >output 2>&1 &&
227227 # Output should indicate what is wrong
228- grep -q "\\.git/NOTES_MERGE_\\* exists" output
228+ test_i18ngrep -q "\\.git/NOTES_MERGE_\\* exists" output
229229'
230230
231231# Setup non-conflicting merge between x and new notes ref w
You can’t perform that action at this time.
0 commit comments