-
Notifications
You must be signed in to change notification settings - Fork 533
Commit message escaping issues under Windows #495
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
3 tasks
A friendly reminder that this issue had no activity for 60 days. |
3 tasks
3 tasks
3 tasks
Fixed with #684 and released in git-2.0.0-pre1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Subject of the issue
The current escape method for Windows is basically not doing anything:
ruby-git/lib/git/lib.rb
Line 1156 in f9abb18
This works fine for single quotation marks but if the message contains a double quote the commit method breaks:
Your environment
Steps to reproduce
Create a repository, open with with Git and then create a commit with a newline on the message:
Expected behaviour
I would expect this to work like it does on Unix-like systems. I.e. the commit is performed and the message includes the quotation marks.
Actual behaviour
A
Git::GitExecuteError
is raised and the origin of the problem is the incorrectly escaped commit message.The text was updated successfully, but these errors were encountered: