Merge branch 'nd/maint-i18n-diffstat'

* nd/maint-i18n-diffstat:
  i18n: leave \n out of translated diffstat
maint
Junio C Hamano 2012-07-31 09:43:07 -07:00
commit 97c7934049
1 changed files with 1 additions and 1 deletions

2
diff.c
View File

@ -1397,7 +1397,7 @@ int print_stat_summary(FILE *fp, int files, int insertions, int deletions)

if (!files) {
assert(insertions == 0 && deletions == 0);
return fputs(_(" 0 files changed\n"), fp);
return fprintf(fp, "%s\n", _(" 0 files changed"));
}

strbuf_addf(&sb,