[PATCH] git-apply: Don't barf when --stat'ing a diff with no line changes.
authorSven Verdoolaege <skimo@liacs.nl>
Tue, 21 Jun 2005 15:14:30 +0000 (17:14 +0200)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 21 Jun 2005 15:41:56 +0000 (08:41 -0700)
commit69f956e10484f92f9e0ab191b668c79d697b9f0f
treef80d68da66ee8c2ec1d491ef92c95e49db2016cd
parent0795495388d703dc84110a9a7917dd6ec9516bb4
[PATCH] git-apply: Don't barf when --stat'ing a diff with no line changes.

Diffs with only mode changes didn't pass through git-apply --stat.

[ Linus' note: they did for me, on my ppc64, where division by zero just
  silently returns zero.  Duh.  ]

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
apply.c