mirror of
https://github.com/git/git.git
synced 2026-03-14 10:53:25 +01:00
MSYS expands '{}' in paths even if the pattern between the
braces does not contain a comma. See
http://article.gmane.org/gmane.comp.version-control.msysgit/2341
for a detailed discussion.
This commit fixes (at least) the case of "git stash apply stash@{1}".
Note that "git-stash apply stash@{1}" works even without this patch
(because it is executed directly by /bin/sh).
Note that git-stash still has a bug whereby it doesn't validate
its final argument ("stash@{1}" in this case). This commit does
nothing to fix that problem.
Signed-off-by: Steffen Prohaska <prohaska@zib.de>