File tree 2 files changed +5
-5
lines changed
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)
269
269
if (file_exists (git_path (NOTES_MERGE_WORKTREE )) &&
270
270
!is_empty_dir (git_path (NOTES_MERGE_WORKTREE ))) {
271
271
if (advice_resolve_conflict )
272
- die ("You have not concluded your previous "
272
+ die (_ ( "You have not concluded your previous "
273
273
"notes merge (%s exists).\nPlease, use "
274
274
"'git notes merge --commit' or 'git notes "
275
275
"merge --abort' to commit/abort the "
276
276
"previous merge before you start a new "
277
- "notes merge." , git_path ("NOTES_MERGE_*" ));
277
+ "notes merge." ) , git_path ("NOTES_MERGE_*" ));
278
278
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_*" ));
281
281
}
282
282
283
283
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
225
225
test -d .git/NOTES_MERGE_WORKTREE &&
226
226
test_must_fail git notes merge z >output 2>&1 &&
227
227
# Output should indicate what is wrong
228
- grep -q "\\.git/NOTES_MERGE_\\* exists" output
228
+ test_i18ngrep -q "\\.git/NOTES_MERGE_\\* exists" output
229
229
'
230
230
231
231
# Setup non-conflicting merge between x and new notes ref w
You can’t perform that action at this time.
0 commit comments