Skip to contentSkip to conversation

gitweb: blame: print commit8 on the leading row of a commit-block

PATCH In review Luben Tuikov 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

cover gitweb: blame: print commit8 on the leading row of a commit-block

The following set of patches implements Junio's excellent idea of printing the commit-8 only on the leading row of a commit block, as well as implementing mouse-over title of
the author and the date of the commit. Thus making the output
of git_blame2() less cluttered yet able to give more information should the user mouse-over the commit.

The difference is that this implementations doesn't use a "stack-like" chunk to represent each block-per-commit, thus eliminating the concern of rare but present files with 100s of 1000s of lines with only an initial commit.

Luben

#1 lore raw
Quoted 4 lines · Luben Tuikov

The following set of patches implements Junio's excellent idea of printing the commit-8 only on the leading row of a commit block, as well as implementing mouse-over title of the author and the date of the commit.

By the way, by definition any idea by me on UI is sucky, not excellent.

I think this patch gives title= only to rows that happen to be at the beginning of a block, as opposed to what I placed in "next" which does it for the whole commit-8 column (and I did not have to do that for N lines because it uses rowspan to extend that column over multiple rows), so I suspect it makes "mouse-over" less useful.