Skip to content

Commit

Permalink
format-patch: make sure header and body are separated.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Junio C Hamano committed Dec 20, 2005
1 parent 913419f commit a5c21d6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions git-format-patch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,8 @@ Date: '"$ad"
}

mailScript="$mailScript"'
a\
: body
p
n
Expand Down

0 comments on commit a5c21d6

Please sign in to comment.