Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit 97c7934

Browse files
committed
Merge branch 'nd/maint-i18n-diffstat'
* nd/maint-i18n-diffstat: i18n: leave \n out of translated diffstat
2 parents 5fe1484 + 8212333 commit 97c7934

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

diff.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1397,7 +1397,7 @@ int print_stat_summary(FILE *fp, int files, int insertions, int deletions)
13971397

13981398
if (!files) {
13991399
assert(insertions == 0 && deletions == 0);
1400-
return fputs(_(" 0 files changed\n"), fp);
1400+
return fprintf(fp, "%s\n", _(" 0 files changed"));
14011401
}
14021402

14031403
strbuf_addf(&sb,

0 commit comments

Comments
 (0)