Hello to everyone,
I have one problem with SourceTree since months. I am Delphi programmer and my IDE saves source files in standard ASCII format. In lines, where I am writing German comments (containing non-Latin letters like ö, ß, ä) there is not possible to commit them using "Stage hunk" button. I see the following error message then:
'git apply' failed with code 1: Checking patch xxx...
error: while searching for:
OVNI_PREFIX = 'ovni_'; // Standardname f�r Videoschnittstellen-DLL
error: patch failed: xxx:148
error: xxx: patch does not apply
I could commit the whole file and then everything is done, but committing only few lines is sometimes very useful for me.
I tried to change the file encoding into UTF8, but it does not help.
I am using embedded version of git (1.9.5).
Still might be a git bug, but SourceTree's not giving enough info about what commands it is running. I think you should post a bug report at jira.atlassian.com, and put a link here as an answer so others can find it. In the meantime, you may need to avoid non-Latin characters in your code.
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs