I split git blame functionality into libgit, and the changes were accepted upstream and are a part of git 2.14. Now that the git infrastructure is in place, here is what is needed for cgit to make use of it.
Since RFCv2: . Re-ordered and squashed some of the patches . Used cgit's commitinfo structure . Factored set_title_from_path out to ui-shared . Made cgit_commit_link's first parameter const char* . Disabled the feature by default . Simplified changes to html_ntxt / html_txt Jeff Smith (5): html: html_ntxt with no ellipsis ui-tree: move set_title_from_path to ui-shared ui-shared: make a char* parameter const ui-blame: add blame UI ui-tree: link to blame UI if enabled cgit.c | 2 + cgit.css | 8 +++ cgit.h | 1 + cgit.mk | 1 + cgitrc.5.txt | 9 +++ cmd.c | 12 +++- html.c | 24 ++----- html.h | 2 +- ui-blame.c | 224 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ui-blame.h | 7 ++ ui-repolist.c | 3 +- ui-shared.c | 70 ++++++++++++++---- ui-shared.h | 7 +- ui-tree.c | 41 +++-------- 14 files changed, 341 insertions(+), 70 deletions(-) create mode 100644 ui-blame.c create mode 100644 ui-blame.h -- 2.9.4 _______________________________________________ CGit mailing list CGit@lists.zx2c4.com https://lists.zx2c4.com/mailman/listinfo/cgit