[PATCHv2 0/5] Add ui-blame

Jeff Smith whydoubt at gmail.com
Mon Oct 2 06:39:04 CEST 2017


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 previous set:
. Updated html_ntxt signature
. set_title_from_path -> cgit_set_title_from_path
. A bit more tidying up ui-blame.c

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        |  29 +++-----
 html.h        |   2 +-
 ui-blame.c    | 227 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 ui-blame.h    |   7 ++
 ui-repolist.c |   3 +-
 ui-shared.c   |  70 ++++++++++++++----
 ui-shared.h   |   7 +-
 ui-tree.c     |  45 +++---------
 14 files changed, 350 insertions(+), 73 deletions(-)
 create mode 100644 ui-blame.c
 create mode 100644 ui-blame.h

-- 
2.9.4



More information about the CGit mailing list