Commit 2ef563c
authored
Avoid creating an array for the sole purpose of counting elements (#17)
* Avoid creating an array for the sole purpose of counting elements
Probably speeds up counting commits for git versions < 1.8.0,
although I dubt it would make a visible difference
* Fix commit count with git version < 1.8.0
With format='' the output does not end with a newline (checked)1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
| 161 | + | |
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| |||
0 commit comments