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

Re: No config option for `git diff --stat` to always show the full file path and name (without .../ abbreviations)

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 21, 2025, 14:46 UTC
Message-ID
<xmqqtszswbwq.fsf@gitster.g>
In-Reply-To
<20251021081422.GE259661@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
> Anyway, one more possible hack: you can set COLUMNS if you want to
> pretend you have a really big terminal. I.e., "export COLUMNS=200" would
> probably do what you want without any new Git feature.
;-)

Isn't that the exact purpose of that environment variable? It feels a bit unfair to the variable to call it a hack.

Previous: Jeff KingNext: Jeff King
Message 4 of 5 in “No config option for `git diff --stat` to always show the full file path and name (without .../ abbreviations)”
  1. Дилян ПалаузовOct 19, 2025
  2. Ben KnobleOct 20, 2025
  3. Jeff KingOct 21, 2025
  4. Junio C HamanoOct 21, 2025
  5. Jeff KingOct 22, 2025

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.