From a5c21d6eb7e7ce164666d55e5911c271664ddfe7 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Mon, 19 Dec 2005 21:55:12 -0800 Subject: [PATCH] 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 --- git-format-patch.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/git-format-patch.sh b/git-format-patch.sh index 01508e3b0..daa3caea7 100755 --- a/git-format-patch.sh +++ b/git-format-patch.sh @@ -210,6 +210,8 @@ Date: '"$ad" } mailScript="$mailScript"' + a\ + : body p n -- 2.30.2