-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Don't consider tag refs as valid for branch name #11847
Conversation
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.
I umm'd and ahh'd about this one and whether we should be stricter to the point of using --refs refs/head/*
instead but I guess this way we get to keep the refs/pulls/x/head references etc.
Yes it's a rather ugly case. Maybe treat pulls in special fashion, with different icon and display them separately? |
The issue is however - I'm not sure if we can remove pull refs from that function because of usage in |
Exactly I think this is the minimal fix that doesn't break things (further) and fixes the tag problem. I suspect that the other cases are not bad things to show eg. If using git-as-svn then SVN commit refs should show up too |
ping LG-TM |
Co-authored-by: techknowlogick <[email protected]>
name-rev
does not discriminate so we need to explicitly ensure that tags won't be taken into account