summaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorJiang Xin <worldhello.net@gmail.com>2014-04-17 05:37:19 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-04-17 18:09:56 (GMT)
commitd1d96a82bbe302f552364d1629958b7d7247fd8f (patch)
treed8d2c2085ce639d2f18bd9a377b4c289a4977505 /diff.c
parentfcaed04df693685dfece4a48cc8780c9a5adde0b (diff)
downloadgit-d1d96a82bbe302f552364d1629958b7d7247fd8f.zip
git-d1d96a82bbe302f552364d1629958b7d7247fd8f.tar.gz
git-d1d96a82bbe302f552364d1629958b7d7247fd8f.tar.bz2
i18n: remove obsolete comments for translators in diffstat generation
Since we do not translate diffstat any more, remove the obsolete comments. Signed-off-by: Jiang Xin <worldhello.net@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
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 539997f..54d5308 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);