Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jul 19, 2023

Conversation

jerry-skydio
Copy link
Collaborator

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.

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
Copy link
Collaborator Author

Reviews in this chain:
#119 git: Add ^commit to rev parse --verify

@jerry-skydio
Copy link
Collaborator Author

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

@jerry-skydio jerry-skydio merged commit e897c54 into main Jul 19, 2023
5 checks passed
@jerry-skydio jerry-skydio deleted the jerry/revup/main/verifyreally branch July 19, 2023 02:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants