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

Re: [PATCH UI experiment] diffstat: annotate/highlight new or removed files

From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
Date
Oct 16, 2012, 11:15 UTC
Message-ID
<CACsJy8AWqZ7xuFD0=Um=2JX3E6y=mx4xEfXi75OimWxXaJ=tJw@mail.gmail.com>
In-Reply-To
<7v626bwir8.fsf@alter.siamese.dyndns.org>
On Tue, Oct 16, 2012 at 4:03 AM, Junio C Hamano <gitster@pobox.com> wrote:
Show 6 quoted lines
>> Coloring is to me an improvement over --summary. Probably the main
>> point. Without it, perhaps it's not worth putting extra text to
>> diffstat.
>
> It is kind of surprising that you did not choose to paint new in
> green and gone in red, and rather paint everything in yellow.

The colors of line addition and deletion? Nice. I just wanted to make sure these stand out, or at least not easily mistaken as part of path names.

> I personally think the above in monochrome is fairly easy to read;
> with coloring, it might become too distracting, though.

Hmm.. maybe. I'm probably too excited to see the distraction just yet. I will try it out for longer time, see if I change my mind.

> Just a nit, "new mode" is too similar to "new".  Everything is "new"
> in the sense that they have "new contents"; it may be better phrased
> without saying "new" but giving a stress on "changed".

I think "new mode" should be replaced by the actual mode change (e.g. "+x", "-x", or "mode +x", "mode -x"). Not too long and quite clear what it does.

-- 
Duy
Previous: Junio C Hamano
Message 3 of 3 in “diffstat: annotate/highlight new or removed files”
  1. diffstat: annotate/highlight new or removed filesNguyễn Thái Ngọc Duy, Oct 15, 2012
  2. Junio C HamanoOct 15, 2012
  3. Nguyen Thai Ngoc DuyOct 16, 2012

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.