The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Forward slashes are causing me problems

Chris Rebel
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 3, 2012

Sourcetree is having trouble with forward slashes in the git commit messages. I'm getting error messages like the ones below when trying to view these repostories where the head commit has a forward slash.

11/4/12 12:20:27.706 AM SourceTree[45500]: 'git log' failed with code 128:'fatal: ambiguous argument 'CR/MM': unknown revision or path not in the working tree.

Use '--' to separate paths from revisions

'

11/4/12 12:40:27.901 AM SourceTree[45500]: 'git log' failed with code 128:'fatal: ambiguous argument 'test/test': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions
'
11/4/12 12:46:07.787 AM SourceTree[45500]: 'git log' failed with code 128:'fatal: ambiguous argument 'origin/master': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions
'
I believe this happened once before and blowing away the preferences files worked as a fix, but I would love to know if there is some other way I can address this problem.
Thanks.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
stevestreeting
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
November 4, 2012

That's strange, because I and many others use forward slashes in branch names all the time, it's not only always the case for remote branches, but when you're using git-flow, most branches have prefixes with a slash in them.

Please can you provide more details about what version of SourceTree you're using, your repo state and the gitconfig you're using (locally and globally).

TAGS
AUG Leaders

Atlassian Community Events