diff options
author | Junio C Hamano <junkio@cox.net> | 2005-12-19 21:55:12 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-12-19 21:55:12 -0800 |
commit | a5c21d6eb7e7ce164666d55e5911c271664ddfe7 (patch) | |
tree | 4f8291d39e7cdac43570cf2d8b5d112502f19a29 | |
parent | 913419fcc648dd43d7f7afdd94fa25aee4f9798a (diff) | |
download | git-a5c21d6eb7e7ce164666d55e5911c271664ddfe7.tar.gz git-a5c21d6eb7e7ce164666d55e5911c271664ddfe7.tar.xz |
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>
-rwxr-xr-x | git-format-patch.sh | 2 |
1 files changed, 2 insertions, 0 deletions
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 |