Hi, so I always get 2 hashes from git rev-list --max-parents=0 HEAD even with the full git history, which results in this error:
[12:12:51]: git rev-list --max-parents=0 HEAD resulted to more than 1 hash
[12:12:51]: This usually happens when you pull only part of a git history. Check out how you pull the repo! "git fetch" should be enough.
the only workaround that seems to fix this is piping it through tail:
git rev-list --max-parents=0 HEAD | tail -n 1
I am happy to open a PR but I am not sure if this would then break the script when only part of a git history is present. So I just wanted to get your input @xotahal .
Hi, so I always get 2 hashes from
git rev-list --max-parents=0 HEAD
even with the full git history, which results in this error:the only workaround that seems to fix this is piping it through tail:
I am happy to open a PR but I am not sure if this would then break the script when only part of a git history is present. So I just wanted to get your input @xotahal .