Check for empty diffs
commitbb0fb4f0c593cee6d3f32577be41afbe693b5948
authorSverre Rabbelier <sverre@rabbelier.nl>
Fri, 11 Jul 2008 20:27:28 +0000 (11 22:27 +0200)
committerSverre Rabbelier <sverre@rabbelier.nl>
Fri, 11 Jul 2008 20:27:28 +0000 (11 22:27 +0200)
tree1f754cbea8a00f8199ea9abee420d6e65fb88e83
parent58bf618ef163db4b8882c23f57a09c5e50c02f4e
Check for empty diffs

When a diff introduces no changes we need to check this
explicitly or the rest of the code will die because it
is missing data. This adds checks for that.
Also, when finding reverts, do not check for the commit
that we are checking for.
src/git_stats/diff.py