Closed chelnak closed 2 years ago
It returns n
hashes because the command does as it says.. return info on the commits with 0 parents.
In this case the repository had two parentless commits for some reason.
It's probably sensible to warn and take the oldest.
Currently
GetFirstCommit
callsgit rev-list --max-parents=0 HEAD
.It turns out that this can return to SHAs, which then breaks the downstream calls to git.