Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
merge(s): apply consistent punctuation to "up to date" messages
Although the various "Already up to date" messages resulting from merge attempts share identical phrasing, they use a mix of punctuation ranging from "." to "!" and even "Yeeah!", which leads to extra work for translators. Ease the job of translators by settling upon "." as punctuation for all such messages. While at it, take advantage of printf_ln() to further ease the translation task so translators need not worry about line termination, and fix a case of missing line termination in the (unused) merge_ort_nonrecursive() function. Suggested-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
- Loading branch information
Showing
with
4 additions
and 4 deletions.
- +1 −1 builtin/merge.c
- +1 −1 merge-ort-wrappers.c
- +1 −1 merge-recursive.c
- +1 −1 notes-merge.c
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
| @@ -1610,7 +1610,7 @@ int cmd_merge(int argc, const char **argv, const char *prefix) | ||
| } | ||
| } | ||
| if (up_to_date) { | ||
| finish_up_to_date(_("Already up to date.")); | ||
| goto done; | ||
| } | ||
| } | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
| @@ -30,7 +30,7 @@ int merge_ort_nonrecursive(struct merge_options *opt, | ||
| return -1; | ||
|
|
||
| if (oideq(&merge_base->object.oid, &merge->object.oid)) { | ||
| printf_ln(_("Already up to date.")); | ||
| return 1; | ||
| } | ||
|
|
||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters

