codymikol / git-down

A rewrite of the popular project GitUp that works in Linux, Mac, and Windows.
MIT License
29 stars 3 forks source link

fix(commit): handle empty newly initialized repos #91

Closed codymikol closed 1 year ago

codymikol commented 1 year ago

this fixes a bug where the commit count derived state was encountering an exception. Now we will explicitly handle this and return 0 commits.

Fixes #28