]> git.ipfire.org Git - thirdparty/git.git/blobdiff - git-format-patch.sh
git-status: use ls-files --others --directory for untracked list.
[thirdparty/git.git] / git-format-patch.sh
index 01508e3b04f91bba3e960eb74eaff3e349e209bd..818059f2429d440396daa313dd7fde98bb4782e0 100755 (executable)
@@ -173,6 +173,7 @@ titleScript='
 
 whosepatchScript='
 /^author /{
+       s/'\''/'\''\\'\'\''/g
        s/author \(.*>\) \(.*\)$/au='\''\1'\'' ad='\''\2'\''/p
        q
 }'
@@ -210,6 +211,8 @@ Date: '"$ad"
        }
 
        mailScript="$mailScript"'
+       a\
+
        : body
        p
        n