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

Re: [PATCH] diff: add --no-indicators option

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 20, 2025, 06:03 UTC
Message-ID
<xmqqzf7du1ut.fsf@gitster.g>
In-Reply-To
<20251219190828.50839-1-haraldnordgren@gmail.com>
Harald Nordgren <haraldnordgren@gmail.com> writes:
> Maybe I missed your point about GNU or BSD, could you explain more about that?

When I talk/think about what "git diff" should and should not do, I remind myself that not many things under the sun are truly novel. After all, long before Git was invented, people had used "diff" to compare old and new versions of the same thing to extract the differences. When proposing a new feature X in "git diff", it would support the idea very well if these implementations of "diff" that way predates Git itself has a simliar feature already. On the other hand, if the vanilla "diff" used outside the context of Git lack such feature X, it is more likely that X is an ill-thought-out misfeature that they didn't want, than people who have been working on these implementations of "diff" (not "git diff", but GNU or BSD or others) were dumb enough that they did not think of the feature X themselves.

That was why I asked if there are precedents, either in GNU or BSD implementations of "diff".

Previous: Harald NordgrenNext: Harald Nordgren
Message 17 of 18 in “diff: add --no-indicators option”
  1. diff: add --no-indicators optionHarald Nordgren via GitGitGadget, Dec 19, 2025
  2. Collin FunkDec 19, 2025
  3. Harald NordgrenDec 19, 2025
  4. Ben KnobleDec 19, 2025
  5. Harald NordgrenDec 19, 2025
  6. Phillip WoodDec 19, 2025
  7. Harald NordgrenDec 19, 2025
  8. Phillip WoodDec 19, 2025
  9. Chris TorekDec 19, 2025
  10. Harald NordgrenDec 19, 2025
  11. Chris TorekDec 19, 2025
  12. Harald NordgrenDec 19, 2025
  13. Harald NordgrenDec 19, 2025
  14. Johannes SixtDec 20, 2025
  15. Junio C HamanoDec 19, 2025
  16. Harald NordgrenDec 19, 2025
  17. Junio C HamanoDec 20, 2025
  18. Harald NordgrenDec 20, 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.