Use git rev-list --count instead of log for calculate_commit_count
authorRobin Stocker <robin@nibor.org>
Wed, 24 Oct 2012 11:08:47 +0000 (13:08 +0200)
committerMarius Mathiesen <marius@gitorious.org>
Wed, 30 Jan 2013 11:33:56 +0000 (12:33 +0100)
commita51f8d5ae7ae9b537e14ac4ca2978ba042885e05
tree6a5ef257d5b85d08e6841b8bc5207a23ba48534b
parent16090f9f6de7ce3dac0b8ff3703864c0e4c8aec4
Use git rev-list --count instead of log for calculate_commit_count

This is more efficient because Git does not have to parse commit
messages and IO is minimized.
lib/push_event_logger.rb