mirror of
https://github.com/go-gitea/git.git
synced 2026-02-05 06:45:03 +01:00
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)
This commit is contained in:
Reference in New Issue
Block a user