summary refs log tree commit diff
path: root/merge-recursive.c
diff options
context:
space:
mode:
authorEric Sunshine <sunshine@sunshineco.com>2021-05-02 01:14:22 -0400
committerJunio C Hamano <gitster@pobox.com>2021-05-03 14:14:56 +0900
commit80cde95eecbc3e0812a92eaa7bcd534dd256ceab (patch)
tree37e9fc755c5c2251905fc98d552aa6702a70f271 /merge-recursive.c
parent48bf2fa8bad054d66bd79c6ba903c89c704201f7 (diff)
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 'merge-recursive.c')
-rw-r--r--merge-recursive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/merge-recursive.c b/merge-recursive.c
index b69e694d98..7e99431d66 100644
--- a/merge-recursive.c
+++ b/merge-recursive.c
@@ -3432,7 +3432,7 @@ static int merge_trees_internal(struct merge_options *opt,
 	}
 
 	if (oideq(&merge_base->object.oid, &merge->object.oid)) {
-		output(opt, 0, _("Already up to date!"));
+		output(opt, 0, _("Already up to date."));
 		*result = head;
 		return 1;
 	}