-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Fix commit search in all branches #11849
Conversation
If I understand correctly it will just change only argument order but does not really changes |
Expand diff below, the same args are used for two commands - this PR makes it so that |
|
OK I think that code needs comments as to what the hell it is doing. It's really not clear! (Not your fault but as you've spent the time to understand this - you may be best placed to expand the commentary and make this clearer.) |
Added comments; pretty detailed ones too. |
Hopefully now you see that --all breaks logic of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙏 ty for this PR!
ping LG-TM |
* Fix commit search in all branches * comments Co-authored-by: techknowlogick <techknowlogick@gitea.io>
We perform two commands on commit search,
--all
should not be used without--grep
.Fixes case where searching for commit with 'All Branches' selected would always return newest commit from newest ref instead of correct commit.