Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Tracking Branch for branch containing a hash sign is wrong #550

Closed
@msiemens

Description

@msiemens

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp