summaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-04-21 10:42:52 -0700
committerJunio C Hamano <gitster@pobox.com>2014-04-21 10:42:52 -0700
commit8fe3ee67adcd2ee9372c7044fa311ce55eb285b4 (patch)
treede9808909692a95575e34d29cf0eb5b832b5c851 /diff.c
parent0b17b4331087224883878e49342037bf69717b62 (diff)
parentcbcfd4e3ea9db3125619591b942f56d0a8f3ef48 (diff)
downloadgit-8fe3ee67adcd2ee9372c7044fa311ce55eb285b4.tar.gz
Merge branch 'jx/i18n'
* jx/i18n: i18n: mention "TRANSLATORS:" marker in Documentation/CodingGuidelines i18n: only extract comments marked with "TRANSLATORS:" i18n: remove obsolete comments for translators in diffstat generation i18n: fix uncatchable comments for translators in date.c
Diffstat (limited to 'diff.c')
-rw-r--r--diff.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/diff.c b/diff.c
index 539997fc6a..54d5308268 100644
--- a/diff.c
+++ b/diff.c
@@ -1461,20 +1461,12 @@ int print_stat_summary(FILE *fp, int files, int insertions, int deletions)
* but nothing about added/removed lines? Is this a bug in Git?").
*/
if (insertions || deletions == 0) {
- /*
- * TRANSLATORS: "+" in (+) is a line addition marker;
- * do not translate it.
- */
strbuf_addf(&sb,
(insertions == 1) ? ", %d insertion(+)" : ", %d insertions(+)",
insertions);
}
if (deletions || insertions == 0) {
- /*
- * TRANSLATORS: "-" in (-) is a line removal marker;
- * do not translate it.
- */
strbuf_addf(&sb,
(deletions == 1) ? ", %d deletion(-)" : ", %d deletions(-)",
deletions);