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

Re: [PATCH 0/2] diff- family --stat width

From
Thomas Koutcher <thomas.koutcher@online.fr>
Date
Apr 29, 2022, 17:22 UTC
Message-ID
<4fa61676-976c-9337-4dcc-742e6fdeac99@online.fr>
In-Reply-To
<xmqqczhaf7f7.fsf@gitster.g>
Junio C Hamano writes:
Show 6 quoted lines
>
> I do not think it is a good move to change the output from these
> plumbing commands, whose purpose of existence is to give more
> predictable outcome, to be affected by dynamic elements like the
> width of the terminal the user happens to be using.
>

Thanks for your feedback Junio, I agree this is certainly the safest choice to leave them as they are. Man pages git-diff-files(1), git-diff-index(1), git-diff-tree(1) and git-config(1) [diff.statGraphWidth section] will need an update to reflect the current behaviour.

Previous: Junio C Hamano
Message 5 of 5 in “diff- family --stat width”
  1. 0/2 diff- family --stat widthThomas Koutcher via GitGitGadget, Apr 21, 2022
  2. 1/2 diff- family --stat: use the full terminal widthThomas Koutcher via GitGitGadget, Apr 21, 2022
  3. 2/2 diff- family --stat: honour config option to limit graph widthThomas Koutcher via GitGitGadget, Apr 21, 2022
  4. Junio C HamanoApr 21, 2022
  5. Thomas KoutcherApr 29, 2022

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.