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

Re: [PATCH v3 0/2] diff: add --stat-with-summary (was --compact-summary)

From
Eric Sunshine <sunshine@sunshineco.com>
Date
Feb 7, 2018, 09:52 UTC
Message-ID
<CAPig+cR9RycfLz0C6tXA4iPXdqoyczfij8CBaU4MmRGRmuRhSQ@mail.gmail.com>
In-Reply-To
<CACsJy8CQLnzX6vijE+WHE3_nwqVfFiNWFb_rcA-Lw_fvGf=aFw@mail.gmail.com>
On Tue, Feb 6, 2018 at 5:20 AM, Duy Nguyen <pclouds@gmail.com> wrote:
Show 14 quoted lines
> On Tue, Feb 6, 2018 at 1:56 AM, Junio C Hamano <gitster@pobox.com> wrote:
>> Duy Nguyen <pclouds@gmail.com> writes:
>> I actually think compact-summary was a good way to phrase it.
>>
>> Personally, I think it was a UI mistake that --summary can be given
>> independently with or without --stat (instead, there shouldn't have
>> been the --summary option, and instead when it was added, --stat
>> just should have gained an extra kind of output).  A single option
>> that can give both kinds of info may be a good way forward, so
>> another possibility may be --summary-in-stat (meaning: the info
>> given by summary is included in stat output).  I dunno.
>
> +Eric maybe he has some idea (sorry I forgot to include people from
> the last round).

What about the earlier suggestion[1] (and minor follow-ups[2,3]) of making this another option to --stat= (for instance, --stat=compact)? Did that idea get shot down or am I misunderstanding the question here.

[1]: https://public-inbox.org/git/CAPig+cQLgs59JYxcmK30qY307ArwqJx6pNOo95Z39_jJ9+D6+g@mail.gmail.com/ [2]: https://public-inbox.org/git/CACsJy8B5qrN8T1aai3y3nfEc5baqn2Xkk6vZozMp5Lh-mPZ0VQ@mail.gmail.com/ [3]: https://public-inbox.org/git/CACsJy8CPHk+aXHr-mkHZi27s=c3+ny8D9CSuzOSO8PweviBcqQ@mail.gmail.com/

Previous: Duy NguyenNext: Duy Nguyen
Message 8 of 19 in “diff: add --stat-with-summary (was --compact-summary)”
  1. 0/2 diff: add --stat-with-summary (was --compact-summary)Nguyễn Thái Ngọc Duy, Feb 1, 2018
  2. 1/2 diff.c: refactor pprint_rename() to use strbufNguyễn Thái Ngọc Duy, Feb 1, 2018
  3. 2/2 diff: add --stat-with-summaryNguyễn Thái Ngọc Duy, Feb 1, 2018
  4. Junio C HamanoFeb 2, 2018
  5. Duy NguyenFeb 5, 2018
  6. Junio C HamanoFeb 5, 2018
  7. Duy NguyenFeb 6, 2018
  8. Eric SunshineFeb 7, 2018
  9. Duy NguyenFeb 7, 2018
  10. Junio C HamanoFeb 7, 2018
  11. Duy NguyenFeb 10, 2018
  12. Junio C HamanoFeb 10, 2018
  13. 0/2 diff: add --compact-summary (aka nd/diff-stat-with-summary)Nguyễn Thái Ngọc Duy, Feb 24, 2018
  14. 1/2 diff.c: refactor pprint_rename() to use strbufNguyễn Thái Ngọc Duy, Feb 24, 2018
  15. 2/2 diff: add --stat-with-summaryNguyễn Thái Ngọc Duy, Feb 24, 2018
  16. 0/2 diff: add --compact-summary (aka nd/diff-stat-with-summary)Nguyễn Thái Ngọc Duy, Feb 24, 2018
  17. 1/2 diff.c: refactor pprint_rename() to use strbufNguyễn Thái Ngọc Duy, Feb 24, 2018
  18. 2/2 diff: add --compact-summaryNguyễn Thái Ngọc Duy, Feb 24, 2018
  19. Junio C HamanoFeb 27, 2018

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.