Merge branch 'jc/maint-format-patch-o-relative'
[gitweb.git] / git-am.sh
index 7e6329b14c1b7b1b05a76461dc2336ada5df6396..4beb12dcf5e94c0bc0decf8720f4a622b8b2d325 100755 (executable)
--- a/git-am.sh
+++ b/git-am.sh
@@ -38,7 +38,7 @@ sq () {
        for sqarg
        do
                printf "%s" "$sqarg" |
-               sed -e 's/'\''/'\''\'\'''\''/g' -e 's/.*/ '\''&'\''/'
+               sed -e 's/'\''/'\''\\'\'''\''/g' -e 's/.*/ '\''&'\''/'
        done
 }