graph.c: register a callback for graph output
commitb5a4de9d506030fce1b70a06dc49090a46877c3f
authorBo Yang <struggleyb.nku@gmail.com>
Wed, 26 May 2010 07:23:56 +0000 (26 15:23 +0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 1 Jun 2010 01:02:07 +0000 (31 18:02 -0700)
tree513eb9717de38cfcab8f7c95bc2d08f3a9cbaf4f
parent2efcc977646320123c0d461664d25c4c93aaa9ee
graph.c: register a callback for graph output

It will look better if the 'git log --graph' print
the graph pading lines before the diff output just
like what it does for commit message.
And this patch leverage the new diff prefix callback
function to achieve this.

Signed-off-by: Bo Yang <struggleyb.nku@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
graph.c