author | Lars Hjemli <hjemli@gmail.com> | |
Wed, 3 Jan 2007 13:34:13 +0000 (14:34 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 3 Jan 2007 16:29:01 +0000 (08:29 -0800) | ||
commit | f3a47405bb27846d62d20b056817f9c7d320e2db | |
tree | 439cfbe00ac5b6e083e85e300c601a11e80e340f | tree | snapshot |
parent | f3673988ecb3d3174f9b6d3d04f00774b1b5c261 | commit | diff |
Skip excessive blank lines before commit body
This modifies pretty_print_commit() to make the output of git-rev-list and
friends a bit more predictable.
A commit body starting with blank lines might be unheard-of, but still possible
to create using git-commit-tree (so is bound to appear somewhere, sometime).
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This modifies pretty_print_commit() to make the output of git-rev-list and
friends a bit more predictable.
A commit body starting with blank lines might be unheard-of, but still possible
to create using git-commit-tree (so is bound to appear somewhere, sometime).
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
commit.c | diff | blob | history |