Properly handle empty commits with no changes.
commit6f5314e993e20366e3b0678fe93e1a75b23990c3
authorTyler Nielsen <tyler.nielsen@gmail.com>
Tue, 23 Mar 2010 20:51:49 +0000 (23 14:51 -0600)
committerHeikki Hokkanen <hoxu@users.sf.net>
Wed, 24 Mar 2010 05:03:58 +0000 (24 07:03 +0200)
tree08dd92e6aaf953ba1c56ec22d7d5a8bf2590a07f
parent1dd89a2322216a3143f5e7b216856de282b161d4
Properly handle empty commits with no changes.

Clear files, inserted and deleted after storing them for the preceding commit.

git-svn, for example, can have empty commits (when a directory is created),
causing the statistics to get skewed.

[hoxu@users.sf.net: rewrote commit message based on Tyler's mail]

Signed-off-by: Heikki Hokkanen <hoxu@users.sf.net>
gitstats