-
-
Notifications
You must be signed in to change notification settings - Fork 902
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
Tracking Branch for branch containing a hash sign is wrong #550
Labels
Milestone
Comments
Thanks for posting the issue! It was nicely reproducible, and a new release with the fix should land today. |
Thank you, as always a pleasure to work with you guys! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When having a branch which has a remote tracking branch containing a hash sign (like
features/#123
), git will store it in the config file surrounded with quotes. Now, when requesting the branch's tracking branch withHead(...).tracking_branch()
, it doesn't remove the quotes and returns something likeorigin/"refs/heads/feature#123"
.Example
.git/config
file:Reported in msiemens/PyGitUp#55
The text was updated successfully, but these errors were encountered: