diff options
| author | Johan Herland <[email protected]> | 2010-11-15 17:39:50 +0000 |
|---|---|---|
| committer | Lars Hjemli <[email protected]> | 2010-11-16 07:18:36 +0000 |
| commit | 9a8d39c668b98464bac97d4e5442966de63f97b2 (patch) | |
| tree | ee1a7766d6d9365ae45f694939c20cab811abd84 /cmd.c | |
| parent | ui-log: Change display of full commit messages (and notes) (diff) | |
| download | cgit-9a8d39c668b98464bac97d4e5442966de63f97b2.tar.gz cgit-9a8d39c668b98464bac97d4e5442966de63f97b2.zip | |
ui-log: Implement support for commit graphs
Teach CGit to print an ASCII art commit graph to the left of the commit
message, similar to 'git log --graph'. The graph adds extra lines (table
rows) to the log when needed to add/remove/shuffle edges in the graph.
When 'showmsg' is enabled, the graph is automatically padded to account
for the extra lines added by the commit message/notes.
This feature is controlled by a new config variable: "enable-commit-graph"
(disabled by default), and individual repos can control it by setting
"repo.enable-commit-graph".
Signed-off-by: Johan Herland <[email protected]>
Signed-off-by: Lars Hjemli <[email protected]>
Diffstat (limited to 'cmd.c')
0 files changed, 0 insertions, 0 deletions
