Commit graph

9 commits

Author SHA1 Message Date
hemanth.hm 7b7913fab1 More portable she-bangs. 2014-11-30 17:47:26 +05:30
Alexander Krasnukhin 2c346d256a Update bit/git-count
Matching "):" in the end can match commit subjects by mistake i.e. if
commit subject ends with "):" too (e.g. linux project has one such
commit).

To avoid this and any similar problems print summary only (-s).
Restructure output to look exactly as it was before with awk.
2012-11-17 13:40:43 +01:00
Alexander Krasnukhin 867299c3d9 Update bin/git-count
Use git-rev-list and builtin --count option

$ time git log --oneline | wc -l
30613
real	0m0.858s
user	0m0.684s
sys	0m0.239s

$ time git rev-list --count HEAD
30613
real	0m0.416s
user	0m0.396s
sys	0m0.018s
2012-11-17 01:41:59 +01:00
Jean Jordaan 74d9c030be Fix pattern to find names.
Don't fall on your face if a commit message has ): in it somewhere.
2012-09-01 13:28:24 +07:00
Tj Holowaychuk aefe5c0f1c Fix shift in git-count 2010-09-07 08:55:36 -07:00
Tj Holowaychuk 4dc99404ac Added git-delete-branch 2010-08-10 21:13:59 -07:00
Tj Holowaychuk 7a60cd1710 Passing args to git shortlog 2010-08-04 08:56:54 -07:00
Tj Holowaychuk bb721be895 Added --all support to git-count 2010-08-04 08:52:54 -07:00
Tj Holowaychuk 0b06c14b80 Initial commit 2010-08-04 08:48:08 -07:00