neocgit

a more 'modern' version of cgit
Log | Files | Refs | Submodules | README | LICENSE | git clone https://git.ne02ptzero.me/git/neocgit

commit 6b5b655f6d2449fe33d8f48f6e98d5e421bf3ff9
parent 1dd53e3a2ffec730ec27ebe15b3d63e0b417a544
Author: Jeff Smith <whydoubt@gmail.com>
Date:   Tue, 17 Oct 2017 23:17:32 -0500

ui-blame: Distinguish hashes column from lines column

Signed-off-by: Jeff Smith <whydoubt@gmail.com>
Reviewed-by: John Keeping <john@keeping.me.uk>

Diffstat:
Mcgit.css | 1+
Mui-blame.c | 2+-
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/cgit.css b/cgit.css @@ -300,6 +300,7 @@ div#cgit table.blob { border-top: solid 1px black; } +div#cgit table.blob td.hashes, div#cgit table.blob td.lines { margin: 0; padding: 0 0 0 0.5em; vertical-align: top; diff --git a/ui-blame.c b/ui-blame.c @@ -51,7 +51,7 @@ static void emit_blame_entry(struct blame_scoreboard *sb, char *detail = emit_suspect_detail(suspect); - html("<tr><td class='sha1 lines'>"); + html("<tr><td class='sha1 hashes'>"); cgit_commit_link(find_unique_abbrev(oid->hash, DEFAULT_ABBREV), detail, NULL, ctx.qry.head, oid_to_hex(oid), suspect->path); html("</td>\n");