[CGit RFC/PATCH 0/5] Commit graph on CGit's 'log' view
- From
Johan Herland <johan@herland.net>
- Date
- Jul 13, 2010, 21:40 UTC
- Message-ID
- <1279057221-28036-1-git-send-email-johan@herland.net>
- In-Reply-To
- <1279056219-27096-1-git-send-email-johan@herland.net>
Hi,
Here are some patches to implement an ASCII-art commit graph on CGit's 'log' page. The patches reuse the graph-drawing code from Git's own 'git log --graph'. As such, these patches depend on the two patches I just submitted to the Git list for extending the graph.h API.
More detailed: Patch #4 in this series (ui-log: Implement support for commit graphs) depend on patch #1 in the other series (Make graph_next_line() available in the graph.h API), while patch #5 in this series (ui-log: Colorize commit graph) depends on patch #2 in the other series (Enable custom schemes for column colors in the graph API).
Otherwise, the first patch in this series is a minor cleanup patch, while patches #2 and #3 prepare for the introduction of commit graphs in patch #4.
Have fun!
...Johan
Johan Herland (5): ui-stats: Remove unnecessary #include ui-log: Move 'Age' column to the right of 'Author', like in gitk ui-log: Refactor display of commit messages ui-log: Implement support for commit graphs ui-log: Colorize commit graph
cgit.c | 6 +++ cgit.css | 31 ++++++++++++- cgit.h | 3 + cgitrc.5.txt | 15 ++++++- shared.c | 1 + ui-log.c | 140 +++++++++++++++++++++++++++++++++++++++++++++++----------- ui-stats.c | 2 - 7 files changed, 168 insertions(+), 30 deletions(-)