Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork939
Closed
Labels
Milestone
Description
When having a branch which has a remote tracking branch containing a hash sign (likefeatures/#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:
[core]repositoryformatversion = 0filemode = truebare = falselogallrefupdates = trueignorecase = trueprecomposeunicode = true[remote "origin"]url = /var/folders/n8/s89552kd2s9_v1lcgbgwl07r0000gn/T/PyGitUp.2r0xiioq/master.issue-55/.gitfetch = +refs/heads/*:refs/remotes/origin/*[branch "feature#123"]remote = originmerge = "refs/heads/feature#234"
Reported inmsiemens/PyGitUp#55