gitstats: Added with_exceptions=False to 'git rev-parse --verify'
commitbe99073e411b835942a4035b4a24a0a3beb87fcd
authorSverre Rabbelier <sverre@rabbelier.nl>
Tue, 24 Jun 2008 20:08:37 +0000 (24 22:08 +0200)
committerSverre Rabbelier <sverre@rabbelier.nl>
Tue, 24 Jun 2008 20:08:37 +0000 (24 22:08 +0200)
tree7f410ac12e98880484b12a042239a57ae8cfffe4
parent843626e47f203f59db082483db9bd7536c6a01fa
gitstats: Added with_exceptions=False to 'git rev-parse --verify'

We don't want GitPython to throw an exception when the
command exits with non-zero status. This happens whenever
a invalid ref was passed, instead we just want it to not
return a hash, which we then handle ourselves.
src/git_stats/commit.py
src/git_stats/parse.py