gitstats: Minor cleanups, added documentation
commit85d954d2a92683dc81f7c067f039179cab4a8992
authorSverre Rabbelier <sverre@rabbelier.nl>
Mon, 30 Jun 2008 11:30:41 +0000 (30 13:30 +0200)
committerSverre Rabbelier <sverre@rabbelier.nl>
Mon, 30 Jun 2008 11:59:01 +0000 (30 13:59 +0200)
tree2050a3eba8814a5802e3aa26c7e29c76171946d4
parent8427ac80ea630eef186f95050d8645b4b86fed0b
gitstats: Minor cleanups, added documentation

Removed a few redundant newlines, made the 'commit -t'
option take a value instead of it being a boolean switch.
This way we do not have to enforce only one file being
specified. Also, added a switch to commitdiffEqual to make
it less verbose. A simple 'isRevert' method makes use of
this to provide a convenient wrapper.
src/git_stats/author.py
src/git_stats/branch.py
src/git_stats/commit.py
src/git_stats/diff.py