I need to simulate an abnormal commit history in order to write a test case, where I want a commit history like:
sha4
sha3 // i want this to be a root commit
sha2
sha1 // this is the first commit of the repo, so it's a root commit
I expect git rev-list to show:
$ git rev-list --max-parents=0 HEAD
sha3
sha1
My ultimate goal is to let git rev-list --max-parents=0 HEAD return multiple lines.