Re: [PATCH] i18n: leave \n out of translated diffstat From: Junio C Hamano <hidden> Date: 2016-06-15 22:54:21 Nguyễn Thái Ngọc Duy [off-list ref] writes: quoted hunkdiff --git a/diff.c b/diff.c index 62cbe14..95706a5 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")); } Good.
Keyboard shortcuts hback out one level jnext message in thread kprevious message in thread ldrill in Escclose help / fold thread tree ?toggle this help