Georgi Georgiev 5265597861 Properly count the number of commits
The "git log --pretty=format:" command eats up the line feed for the
last commit, and thus "wc -l" counts one commit less than there are.
This is easy to demonstrate with:

$ git log '2.95.3^..2.95.3' --oneline
e84de34 config/version: set version to 2.95.3 (OpenELEC-3.0 Beta 3)

$ git log '2.95.3^..2.95.3' --pretty=format: | wc -l
0

Even though this is a minor discrepancy, "git rev-list" and "git
rev-parse" are simpler and more accurate tools for this task (their
output format is not going to change).
2012-12-05 22:55:40 +09:00
..
2012-11-28 11:14:54 +01:00
2012-05-12 13:49:32 +10:00
2012-12-05 22:55:40 +09:00