Code

diff --stat: do not do its own three-dashes.
authorJunio C Hamano <junkio@cox.net>
Sat, 15 Apr 2006 21:02:10 +0000 (14:02 -0700)
committerJunio C Hamano <junkio@cox.net>
Sat, 15 Apr 2006 21:06:42 +0000 (14:06 -0700)
commit6f4780f9dfd3bc6b23f9ea66b3d49577e0a0c2f9
treeca3270358d71bbfe630c4ac6c041f9d772492072
parent5069b1cf6177f837830dd3ac402bee4f3d088fa5
diff --stat: do not do its own three-dashes.

I missed that "git-diff-* --stat" spits out three-dash separator
on its own without being asked.  Remove it.

When we output commit log followed by diff, perhaps --patch-with-stat,
for downstream consumer, we _would_ want the three-dash between
the message and the diff material, but that logic belongs to the
caller, not diff generator.

Signed-off-by: Junio C Hamano <junkio@cox.net>
diff.c
git.c