summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2012-07-31 09:43:07 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-07-31 09:43:07 -0700
commit97c793404910fbe8b51ec29661619ad0196ac1ae (patch)
treeab2117ad191609416593bbef324d261b3cae8bc4
parentMerge branch 'jx/i18n-1.7.11' (diff)
parenti18n: leave \n out of translated diffstat (diff)
downloadtgif-97c793404910fbe8b51ec29661619ad0196ac1ae.tar.xz
Merge branch 'nd/maint-i18n-diffstat'
* nd/maint-i18n-diffstat: i18n: leave \n out of translated diffstat
-rw-r--r--diff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/diff.c b/diff.c
index 62cbe141ef..95706a5b40 100644
--- a/diff.c
+++ b/diff.c
@@ -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,