summaryrefslogtreecommitdiff
path: root/notes-merge.c
diff options
context:
space:
mode:
authorEric Sunshine <sunshine@sunshineco.com>2021-05-02 05:14:22 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-05-03 05:14:56 (GMT)
commit80cde95eecbc3e0812a92eaa7bcd534dd256ceab (patch)
tree37e9fc755c5c2251905fc98d552aa6702a70f271 /notes-merge.c
parent48bf2fa8bad054d66bd79c6ba903c89c704201f7 (diff)
downloadgit-80cde95eecbc3e0812a92eaa7bcd534dd256ceab.zip
git-80cde95eecbc3e0812a92eaa7bcd534dd256ceab.tar.gz
git-80cde95eecbc3e0812a92eaa7bcd534dd256ceab.tar.bz2
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>
Diffstat (limited to 'notes-merge.c')
-rw-r--r--notes-merge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/notes-merge.c b/notes-merge.c
index d2771fa..321155f 100644
--- a/notes-merge.c
+++ b/notes-merge.c
@@ -628,7 +628,7 @@ int notes_merge(struct notes_merge_options *o,
if (oideq(&remote->object.oid, base_oid)) {
/* Already merged; result == local commit */
if (o->verbosity >= 2)
- printf("Already up to date!\n");
+ printf_ln("Already up to date.");
oidcpy(result_oid, &local->object.oid);
goto found_result;
}