Title: Tracking Branch for branch containing a hash sign is wrong · Issue #550 · gitpython-developers/GitPython · GitHub
Open Graph Title: Tracking Branch for branch containing a hash sign is wrong · Issue #550 · gitpython-developers/GitPython
X Title: Tracking Branch for branch containing a hash sign is wrong · Issue #550 · gitpython-developers/GitPython
Description: 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 with Head(...).tracking_b...
Open Graph Description: 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 t...
X Description: 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'...
Opengraph URL: https://github.com/gitpython-developers/GitPython/issues/550
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Tracking Branch for branch containing a hash sign is wrong","articleBody":"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 with `Head(...).tracking_branch()`, it doesn't remove the quotes and returns something like `origin/\"refs/heads/feature#123\"`.\r\n\r\nExample `.git/config` file:\r\n\r\n```\r\n[core]\r\n\trepositoryformatversion = 0\r\n\tfilemode = true\r\n\tbare = false\r\n\tlogallrefupdates = true\r\n\tignorecase = true\r\n\tprecomposeunicode = true\r\n[remote \"origin\"]\r\n\turl = /var/folders/n8/s89552kd2s9_v1lcgbgwl07r0000gn/T/PyGitUp.2r0xiioq/master.issue-55/.git\r\n\tfetch = +refs/heads/*:refs/remotes/origin/*\r\n[branch \"feature#123\"]\r\n\tremote = origin\r\n\tmerge = \"refs/heads/feature#234\"\r\n```\r\n\r\nReported in msiemens/PyGitUp#55","author":{"url":"https://github.com/msiemens","@type":"Person","name":"msiemens"},"datePublished":"2016-11-03T21:06:35.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/550/GitPython/issues/550"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4f9d90d3-601c-6382-afa7-5eb82e9a1b1e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BAFE:DEDFE:14C2C95:1BBF972:696ADF2D |
| html-safe-nonce | ffecafa749d26166e8146e98f55a101e64ce692a3467c95832cef1ea503116ab |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQUZFOkRFREZFOjE0QzJDOTU6MUJCRjk3Mjo2OTZBREYyRCIsInZpc2l0b3JfaWQiOiI2NTQ3NTA4NjE2MDgyNjc3NTQ5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 3dcdeed127b74cd4f85733bffd28112dac772cc073e1b29b353dff920708b557 |
| hovercard-subject-tag | issue:187190350 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/gitpython-developers/GitPython/550/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1b47fc897b47792a14523951cfd1a673eaba1eb00f6b52301064f1338cbaacf1/gitpython-developers/GitPython/issues/550 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1b47fc897b47792a14523951cfd1a673eaba1eb00f6b52301064f1338cbaacf1/gitpython-developers/GitPython/issues/550 |
| og:image:alt | 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 t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | msiemens |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/gitpython-developers/GitPython git https://github.com/gitpython-developers/GitPython.git |
| octolytics-dimension-user_id | 503709 |
| octolytics-dimension-user_login | gitpython-developers |
| octolytics-dimension-repository_id | 1126087 |
| octolytics-dimension-repository_nwo | gitpython-developers/GitPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1126087 |
| octolytics-dimension-repository_network_root_nwo | gitpython-developers/GitPython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 524a93f2c1f36522a3b4be4c110467ee4172245d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width