mob icon indicating copy to clipboard operation
mob copied to clipboard

Speed up hasCommits check

Open hjwp opened this issue 6 months ago • 0 comments

git rev-list --all is very slow for large repositories (order of 5s on a repo with 500k commits).

This alternative version works by checking whether HEAD points at a valid commit.

hjwp avatar Jun 27 '25 11:06 hjwp