Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Comma sign in branch name

paza November 3, 2022

Hello Sourcetree users,

I might find a bug in Sourcetree-3.4.9 (and 3.4.10 as well).

I created a branch with a comma sign in the name. Sourcetree shows the first part of the name before the comma only on the page of History workspace (the tag next to the commit description).

I checked out develop branch and then wanted to switch back to the created branch, but that is not possible anymore. Sourcetree passes down only the first part of the branch name to git and git is unable to find the branch. It ends up with the error:

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks checkout first-part-of-the-name-with-comma --progress
error: pathspec 'first-part-of-the-name-with-comma' did not match any file(s) known to git
Completed with errors, see above.

What I can do is to run git checkout "first-part-of-the-name-with-comma,second-part" from the command line and then refresh the History workspace page. And it still only shows the first part.

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events