Hi,
When a filename conatins an apostrophe (') or the path to the filename contains an apostrophe, that file cannot be staged.
This is the error output for a path with an apostrophe;
git -c diff.mnemonicprefix=false -c core.quotepath=false add -f -- Folder with apostophe '/Test.txt
fatal: pathspec 'Folder' did not match any files
Completed with errors, see above.
This is the error output for a file with an apostrophe;
git -c diff.mnemonicprefix=false -c core.quotepath=false add -f -- File with apostrophe '.txt
fatal: pathspec 'File' did not match any files
Completed with errors, see above.
I'm using SourceTree v1.0.1.0
Thanks
Matt
Files with apostrophes seem to work fine, it's the combination of spaces *and* apostrophes that doesn't. I'll fix that.
I have the same problem with this filename: Sin tÌtulo-1.gif
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's because it's an extended code page and not UTF8. We will be adding support for non-UTF8 extended characters in SourceTree 1.1.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
G'day Steve,
You are correct.
It is only when the path or file contains a space AND an apostrophe.
Cheers
Matthew
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.