author | Robert Shearman <rob@codeweavers.com> | |
Thu, 13 Jul 2006 22:17:22 +0000 (23:17 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 14 Jul 2006 04:40:43 +0000 (21:40 -0700) | ||
commit | 19b3bd3e2d260323c5e727212a6dcd7fc0f7aa07 | |
tree | e9a765ab286241bac3997a472bc964f9b043505a | tree | snapshot |
parent | a40d384caca008c0334a35e9ac298f2eeb5decd2 | commit | diff |
format-patch: Generate a newline between the subject header and the message body
format-patch previously didn't generate a newline after a subject. This
caused the diffstat to not be displayed in messages with only one line
for the commit message.
This patch fixes this by adding a newline after the headers if a body
hasn't been added.
Signed-off-by: Robert Shearman <rob@codeweavers.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
format-patch previously didn't generate a newline after a subject. This
caused the diffstat to not be displayed in messages with only one line
for the commit message.
This patch fixes this by adding a newline after the headers if a body
hasn't been added.
Signed-off-by: Robert Shearman <rob@codeweavers.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
commit.c | diff | blob | history |