Skip to content
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

mingw: quote argument to 'sh' if it contains brace #1637

Merged
merged 1 commit into from
Apr 23, 2018

Conversation

kgybels
Copy link

@kgybels kgybels commented Apr 17, 2018

Fixes #1220

@dscho
Copy link
Member

dscho commented Apr 18, 2018

Thank you!

Maybe you could provide a commit message that stands on its own, and mark this as fixup! for the respective commit adding quote_for_msys2()?

Also, did you find any documentation as to what special characters need special handling? I fear that { might not be the only one...

@kgybels
Copy link
Author

kgybels commented Apr 18, 2018

I created the pull request already for discussion, however, I don't know when I'll have time to improve it.

@dscho dscho merged commit 50b82c7 into git-for-windows:master Apr 23, 2018
dscho added a commit that referenced this pull request Apr 23, 2018
This merges #1637 with an
added regression test and a new commit message ready for the next
merging rebase (where the faulty commit will be amended).

Signed-off-by: Johannes Schindelin <[email protected]>
@dscho
Copy link
Member

dscho commented Apr 23, 2018

Thanks! I just touched the commit message up a little (to make it easier for me during the next merging rebase), and added a regression test.

@dscho dscho added this to the v2.17.0(2) milestone Apr 23, 2018
dscho added a commit to git-for-windows/build-extra that referenced this pull request Apr 23, 2018
Aliases that expand to shell commands
[can now take arguments containing curly
brackets](git-for-windows/git#1637).

Signed-off-by: Johannes Schindelin <[email protected]>
dscho added a commit that referenced this pull request May 29, 2018
This merges #1637 with an
added regression test and a new commit message ready for the next
merging rebase (where the faulty commit will be amended).

Signed-off-by: Johannes Schindelin <[email protected]>
dscho added a commit that referenced this pull request May 29, 2018
This merges #1637 with an
added regression test and a new commit message ready for the next
merging rebase (where the faulty commit will be amended).

Signed-off-by: Johannes Schindelin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants