[PATCH 0/6 v3] Make git log --graph looks better with -p and other diff options
- From
Bo Yang <struggleyb.nku@gmail.com>
- Date
- May 21, 2010, 01:52 UTC
- Message-ID
- <1274406764-32278-1-git-send-email-struggleyb.nku@gmail.com>
Thanks to Jeff, make --graph work well with --summary. And change the call parameters of output_prefix function, remove the unused FILE* and replace it with a diff_options.
Bo Yang (6): Add a prefix output callback to diff output. Output the graph columns at the end of the commit message. diff.c: Output the text graph padding before each diff line. Emit a whole line once a time. Register a callback for graph output. Make --color-words work well with --graph.
color.c | 21 +++- color.h | 3 +- diff.c | 379 +++++++++++++++++++++++++++++++++++++++++++++--------------- diff.h | 5 + graph.c | 19 +++ log-tree.c | 6 + 6 files changed, 331 insertions(+), 102 deletions(-)