Skip to content

Commit 0c99171

Browse files
peffgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 59e4e34 commit 0c99171

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sha1_name.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ static int get_short_sha1(const char *name, int len, unsigned char *sha1,
346346
status = finish_object_disambiguation(&ds, sha1);
347347

348348
if (!quietly && (status == SHORT_NAME_AMBIGUOUS))
349-
return error("short SHA1 %s is ambiguous.", ds.hex_pfx);
349+
return error(_("short SHA1 %s is ambiguous"), ds.hex_pfx);
350350
return status;
351351
}
352352

0 commit comments

Comments
 (0)