log-tree: use custom line terminator in line termination mode
commit3e065308cab1ac0855bf19be8881def74bfcf7fc
authorJan Krüger <jk@jk.gs>
Mon, 30 Apr 2012 20:28:25 +0000 (30 22:28 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 1 May 2012 16:56:37 +0000 (1 09:56 -0700)
treeac5dee72bc6339b858ade4b708686d56639e07d4
parentf174a2583c9f42315b60205890fa67a79a1f1669
log-tree: use custom line terminator in line termination mode

When using a custom format in line termination mode (as opposed to line
separation mode), the configured line terminator is not used, so things
like "git log --pretty=tformat:%H -z" do not work properly.

Make it use the line terminator the user ordered.

Signed-off-by: Jan Krüger <jk@jk.gs>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
log-tree.c
t/t4205-log-pretty-formats.sh