git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCHv2] builtin/blame: highlight interesting things

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 27, 2017, 18:27 UTC
Message-ID
<xmqq4ltxohv5.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<CAGZ79kZ5x8p7CE6zGQ2HOJFPV_8_XKsENKt70ETACvvYZYKp2Q@mail.gmail.com>
Stefan Beller <sbeller@google.com> writes:
> Well, we could also try a "zebra"  as in sb/diff-color-move to show blocks
> with the same fancy border detection.

Luckily, blame output has places for metainfo on each line, unlike diff output, so there won't be a need for painting border differently. For example, if we decide that metainfo is shown only for the first line for each block, then by definition, the border between blocks is just before a line with metainfo and nowhere else. So in that sense, the problem should be a lot easier to solve ;-)

Unluckily, a block may span several pages, so "only at the first line" might not be very useful. I wonder if we can print in black ink on black background and let selection by mouse or in screen still reveal useful information?

Previous: Stefan BellerNext: Stefan Beller
Message 18 of 19 in “builtin/blame: darken redundant line information”
  1. builtin/blame: darken redundant line informationStefan Beller, Jun 13, 2017
  2. Junio C HamanoJun 13, 2017
  3. Stefan BellerJun 13, 2017
  4. Junio C HamanoJun 13, 2017
  5. Stefan BellerJun 13, 2017
  6. Junio C HamanoJun 13, 2017
  7. Stefan BellerJun 13, 2017
  8. Junio C HamanoJun 13, 2017
  9. Stefan BellerJun 13, 2017
  10. Junio C HamanoJun 13, 2017
  11. Stefan BellerJun 13, 2017
  12. Junio C HamanoJun 13, 2017
  13. Jonathan TanJun 13, 2017
  14. Stefan BellerJun 14, 2017
  15. [PATCHv2] builtin/blame: highlight interesting thingsStefan Beller, Jul 26, 2017
  16. Junio C HamanoJul 26, 2017
  17. Stefan BellerJul 26, 2017
  18. Junio C HamanoJul 27, 2017
  19. Stefan BellerJul 27, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.