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

Re: [PATCH v2 0/2] Nominating "whatchanged" for removal

From
Junio C Hamano <gitster@pobox.com>
Date
May 2, 2025, 16:46 UTC
Message-ID
<xmqqselnufit.fsf@gitster.g>
In-Reply-To
<aBSLejDoqomUO3xE@pks.im>
Patrick Steinhardt <ps@pks.im> writes:
Show 8 quoted lines
> On Thu, May 01, 2025 at 03:59:56PM -0700, Junio C Hamano wrote:
>> This does not go far enough to touch the "Git 3.0 removal" list in
>> Documentation/BreakingChanges.adoc, but is a preparatory step
>> necessary if we ever wanted to do so in the future.
>
> I'm a little confused. These patches very much feel like starting the
> deprecation process for git-whatchanged(1), so why wouldn't we at the
> same time list it as an upcoming breaking change?
Ah, yes, I was overly eager in the documentation change.

To make an analogy of what happened to pack-redundant, this corresponds to c3b58472 (pack-redundant: gauge the usage before proposing its removal, 2020-08-25) plus 4406522b (pack-redundant: escalate deprecation warning to an error, 2023-03-23) rolled into one. We are gauging the impact of the removal by inconveniencing existing users a big way, with a tiny escape hatch to make them feel the pain, so that we can hear their scream better.

We are not there yet to announce the decision to deprecate, like fcf31daa (pack-redundant: document deprecation, 2023-03-28) did, to those who do not even use the command. I think it may make sense to hold that WARNING part of the change, leaving it to a future step that touches the BreakingChanges document.

> Or is the intent
> rather to figure out whether anybody is still using this command so that
> we can then deprecate it after a couple releases if we haven't heard
> back from anybody?
Yes, exactly.
Thanks.
Previous: Patrick SteinhardtNext: Junio C Hamano
Message 12 of 39 in “Nominating "whatchanged" for removal”
  1. 0/2 Nominating "whatchanged" for removalJunio C Hamano, May 1, 2025
  2. 1/2 you-still-use-that??: help deprecating commands for removalJunio C Hamano, May 1, 2025
  3. 2/2 whatchanged: require --i-still-use-thisJunio C Hamano, May 1, 2025
  4. Junio C HamanoMay 1, 2025
  5. 0/2 Nominating "whatchanged" for removalJunio C Hamano, May 1, 2025
  6. 1/2 you-still-use-that??: help deprecating commands for removalJunio C Hamano, May 1, 2025
  7. 2/2 whatchanged: require --i-still-use-thisJunio C Hamano, May 1, 2025
  8. Patrick SteinhardtMay 2, 2025
  9. Junio C HamanoMay 2, 2025
  10. Patrick SteinhardtMay 5, 2025
  11. Patrick SteinhardtMay 2, 2025
  12. Junio C HamanoMay 2, 2025
  13. 0/6 Nominating "whatchanged" for removalJunio C Hamano, May 3, 2025
  14. 1/6 you-still-use-that??: help deprecating commands for removalJunio C Hamano, May 3, 2025
  15. Elijah NewrenMay 12, 2025
  16. 2/6 doc: prepare for a world without whatchangedJunio C Hamano, May 3, 2025
  17. Elijah NewrenMay 12, 2025
  18. 3/6 tests: prepare for a world without whatchangedJunio C Hamano, May 3, 2025
  19. Patrick SteinhardtMay 5, 2025
  20. Elijah NewrenMay 12, 2025
  21. 4/6 whatchanged: require --i-still-use-thisJunio C Hamano, May 3, 2025
  22. Patrick SteinhardtMay 5, 2025
  23. Junio C HamanoMay 5, 2025
  24. 5/6 whatchanged: remove when built with WITH_BREAKING_CHANGESJunio C Hamano, May 3, 2025
  25. Patrick SteinhardtMay 5, 2025
  26. Junio C HamanoMay 5, 2025
  27. 6/6 whatschanged: list it in BreakingChanges documentJunio C Hamano, May 3, 2025
  28. Elijah NewrenMay 12, 2025
  29. Junio C HamanoMay 12, 2025
  30. 0/6 Nominating "whatchanged" for removalJunio C Hamano, May 12, 2025
  31. 1/6 you-still-use-that??: help deprecating commands for removalJunio C Hamano, May 12, 2025
  32. 2/6 doc: prepare for a world without whatchangedJunio C Hamano, May 12, 2025
  33. 3/6 tests: prepare for a world without whatchangedJunio C Hamano, May 12, 2025
  34. 4/6 whatchanged: require --i-still-use-thisJunio C Hamano, May 12, 2025
  35. Junio C HamanoMay 14, 2025
  36. 5/6 whatchanged: remove when built with WITH_BREAKING_CHANGESJunio C Hamano, May 12, 2025
  37. 6/6 whatschanged: list it in BreakingChanges documentJunio C Hamano, May 12, 2025
  38. Elijah NewrenMay 12, 2025
  39. Junio C HamanoMay 12, 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.