Closed jerry-skydio closed 1 year ago
It seems like rev-parse --verify if given a valid full length sha hash doesn't look it up in the database by default, it just returns success. In order to force it to verify that it is a commit, we need to add an addl string to the command.
Reviews in this chain: └https://github.com/Skydio/revup/pull/119 git: Add ^commit to rev parse --verify
It seems like rev-parse --verify if given a valid full length sha hash doesn't look it up in the database by default, it just returns success. In order to force it to verify that it is a commit, we need to add an addl string to the command.