Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2016-09-26 15:00:14 +0300
committerJunio C Hamano <gitster@pobox.com>2016-09-26 21:46:41 +0300
commit0c99171ad2f79430eb81214d3f1d8ced3d3621e3 (patch)
tree62e034ef1150baf149ba422fa65468b3592295d3 /sha1_name.c
parent59e4e34f6977f83c3a3842178da6358a5d130eb6 (diff)
get_short_sha1: mark ambiguity error for translation
This is a human-readable message, and there's no reason it should not be translated. While we're at it, let's drop the period from the end, which is not our usual style. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sha1_name.c')
-rw-r--r--sha1_name.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sha1_name.c b/sha1_name.c
index bbfa1a00adc..acea241139d 100644
--- a/sha1_name.c
+++ b/sha1_name.c
@@ -346,7 +346,7 @@ static int get_short_sha1(const char *name, int len, unsigned char *sha1,
status = finish_object_disambiguation(&ds, sha1);
if (!quietly && (status == SHORT_NAME_AMBIGUOUS))
- return error("short SHA1 %s is ambiguous.", ds.hex_pfx);
+ return error(_("short SHA1 %s is ambiguous"), ds.hex_pfx);
return status;
}