author | Tor Arne Vestbø <tavestbo@trolltech.com> | |
Tue, 13 Jan 2009 19:57:16 +0000 (20:57 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 14 Jan 2009 22:54:41 +0000 (14:54 -0800) | ||
commit | 22a3d060937072b0f197a8084af879c753c68fe7 | |
tree | 9675025a5567dd28d27b4bdad0ccf8320a085cc9 | tree | snapshot |
parent | bb1dff9def343a7d513eea8f4eaa5fd7d5d3fc5f | commit | diff |
git-notes: fix printing of multi-line notes
The line length was read from the same position every time,
causing mangled output when printing notes with multiple lines.
Also, adding new-line manually for each line ensures that we
get a new-line between commits, matching git-log for commits
without notes.
Signed-off-by: Tor Arne Vestbø <tavestbo@trolltech.com>
Acked-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The line length was read from the same position every time,
causing mangled output when printing notes with multiple lines.
Also, adding new-line manually for each line ensures that we
get a new-line between commits, matching git-log for commits
without notes.
Signed-off-by: Tor Arne Vestbø <tavestbo@trolltech.com>
Acked-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
notes.c | diff | blob | history | |
t/t3301-notes.sh | diff | blob | history |