author | Sven Verdoolaege <skimo@liacs.nl> | |
Tue, 21 Jun 2005 15:14:30 +0000 (17:14 +0200) | ||
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Tue, 21 Jun 2005 15:41:56 +0000 (08:41 -0700) | ||
commit | 69f956e10484f92f9e0ab191b668c79d697b9f0f | |
tree | f80d68da66ee8c2ec1d491ef92c95e49db2016cd | tree | snapshot |
parent | 0795495388d703dc84110a9a7917dd6ec9516bb4 | commit | diff |
[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>
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 | diff | blob | history |