-
-
Notifications
You must be signed in to change notification settings - Fork 346
gix-revision: Parse revisions with the @ character #803
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
Conversation
Thanks a lot for your contribution, I never thought about And guess who also it not familiar with the codebase (anymore) 😅? Thus it's time to trust the tests, and I did manage to find more breaking examples by using ranges which might indicate that the right spot for handling I am still looking into it to see what to do here. |
Ranges now work as well and in theory, this passes the fuzzer as well (practical to have it, thanks google-fuzz-project!). If so, and you can't find any other cases maybe by experimenting with |
Thanks for the refactoring! Looks like the CI does not pass actually! The output is a bit cryptic to me, but I will try to have a look. |
Looks like reintroducing the error for things like |
No worries about it. The idea is that the fuzzer finds an input that triggers a panic, then a test can be added that verifies that the panic doesn't occour anymore. I'll be adding the test shortly. |
Yes, it's my first time the fuzzer found something in this CI and then the artifact can be downloaded from GitHub directly. I have added a test with that input, and if it goes through I'd think the implementation should be fine. Thanks again for getting the ball rolling on this one! |
You are very welcome! I guess it might make sense to squash the two commits together, and mark both of us as co-authors. (: Do you mind doing a (minor?) release for |
A good point! It's done locally (don't want to trigger CI again), and it will be merged in instead of what's currently here.
That's the plan - I will post here when done in a bit. |
The PR was brought into |
Thanks again @Byron. For the record, I was meaning to squash both our commits, not just claim co-authorship on you own 😅 but anyway, it’s nice to see this into |
Fixes #802
Happy to have some feedback. The solution seems to work, and makes sense to me, but of course I’m not very familiar with this codebase 😅
Ok for Byron review the PR on video?
If I think the review will be helpful for the community, then I might record and publish a video.