aboutsummaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-07-31 09:43:07 -0700
committerJunio C Hamano <gitster@pobox.com>2012-07-31 09:43:07 -0700
commit97c793404910fbe8b51ec29661619ad0196ac1ae (patch)
treeab2117ad191609416593bbef324d261b3cae8bc4 /diff.c
parent5fe1484a9b89e22f14d94d5b050c39db7ad65c81 (diff)
parent8212333012fa4e95373269526e4a702be7bb2d4b (diff)
downloadgit-97c793404910fbe8b51ec29661619ad0196ac1ae.tar.gz
git-97c793404910fbe8b51ec29661619ad0196ac1ae.tar.xz
Merge branch 'nd/maint-i18n-diffstat'
* nd/maint-i18n-diffstat: i18n: leave \n out of translated diffstat
Diffstat (limited to 'diff.c')
-rw-r--r--diff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/diff.c b/diff.c
index 62cbe141e..95706a5b4 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,