Skydio / revup

Effortlessly create and manage pull requests without changing branches. Powers a stacked diffs workflow with python and git "plumbing" commands.
https://github.com/Skydio/revup
MIT License
310 stars 59 forks source link

git: Add ^commit to rev parse --verify #119

Closed jerry-skydio closed 1 year ago

jerry-skydio commented 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.

jerry-skydio commented 1 year ago

Reviews in this chain: └https://github.com/Skydio/revup/pull/119 git: Add ^commit to rev parse --verify

jerry-skydio commented 1 year ago
# head base diff date summary
0 f5e74a14 917438e8 diff Jul 11 13:39 PM 1 file changed, 3 insertions(+), 1 deletion(-)