@matheusbsbs / matheus-bagliano / commits / a5c21d6eb7
Fork 0

format-patch: make sure header and body are separated.

Since log message in a commit object is defined to be binary blob, it could be something without an empty line between the title line and the body text. Be careful to format such into a form suitable for e-mail submission. There must be an empty line between the headers and the body. Signed-off-by: Junio C Hamano <junkio@cox.net>

Junio C Hamano committed Dec 19, 2005 at 21:55 UTC a5c21d6eb7e7ce164666d55e5911c271664ddfe7
1 file changed +2
git-format-patch.sh
+2
@@ -210,6 +210,8 @@ Date: '"$ad"
210 }
211
212 mailScript="$mailScript"'
213 + a\
214 +
215 : body
216 p
217 n