diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-01-15 01:29:59 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-01-15 01:29:59 +0100 |
commit | 17f26a9ee3298dfa0a1df7cd4e5f5f32342e5f62 (patch) | |
tree | 90f0add881a09d4479d49288d800f03c05cbb747 /git-am.sh | |
parent | git-am: add --directory=<dir> option (diff) | |
download | git-17f26a9ee3298dfa0a1df7cd4e5f5f32342e5f62.tar.xz git-17f26a9ee3298dfa0a1df7cd4e5f5f32342e5f62.zip |
git-am: fix shell quoting
Noticed by Stephan Beyer; the new test is mine.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-am.sh')
-rwxr-xr-x | git-am.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -38,7 +38,7 @@ sq () { for sqarg do printf "%s" "$sqarg" | - sed -e 's/'\''/'\''\'\'''\''/g' -e 's/.*/ '\''&'\''/' + sed -e 's/'\''/'\''\\'\'''\''/g' -e 's/.*/ '\''&'\''/' done } |