[PATCH 1/4] ui-blame: Distinguish hashes column from lines column
John Keeping
john at keeping.me.uk
Sat Oct 21 16:33:22 CEST 2017
On Tue, Oct 17, 2017 at 11:17:32PM -0500, Jeff Smith wrote:
> Signed-off-by: Jeff Smith <whydoubt at gmail.com>
Reviewed-by: John Keeping <john at keeping.me.uk>
> ---
> cgit.css | 1 +
> ui-blame.c | 2 +-
> 2 files changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/cgit.css b/cgit.css
> index 836f8ae..893ebeb 100644
> --- 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
> index 62cf431..a5ac590 100644
> --- 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");
More information about the CGit
mailing list