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

Re: [PATCH 0/2] give range-diff at the end of single patch output

From
DSDragan Simic <dsimic@manjaro.org>
Date
May 23, 2024, 23:35 UTC
Message-ID
<8b08ccd0953aec5a2fcb3a61bc86c32d@manjaro.org>
In-Reply-To
<xmqq34q8qfek.fsf@gitster.g>
On 2024-05-24 01:25, Junio C Hamano wrote:
Show 15 quoted lines
> Dragan Simic <dsimic@manjaro.org> writes:
> 
>> Hmm...  I think this should be made configurable, with the current
>> behavior being the default.  Without that, we could easily disrupt
>> many people's workflows, because the power of "muscle memory" is
>> often really strong.
> 
> I would view this more like "Porcelain layers reserve the right to
> change the behaviour to suit human-end-user needs, without having to
> complicate the system with extra configuration knobs."
> 
> But if other people want to do a follow-up patch to cleanly add such
> a configuration, I would not object to it.  The main desire of this
> patch is *not* to make the option to have range-diff at the end of a
> single patch "series" available, but to make that the default.

I see. Personally, I find the range diffs placed _after_ the actual patches more pleasant, but I'm just concerned about other people that might not like such an arrangement that much.

To me, a range diff is like an additional description of the actual patch, or like a really long footnote, so to me it makes more sense to put it at the end of the "document". Sometimes I don't even want or need to look at that footnote, so not needing to scroll down is another plus.

Previous: Junio C HamanoNext: Junio C Hamano
Message 17 of 18 in “give range-diff at the end of single patch output”
  1. 0/2 give range-diff at the end of single patch outputJunio C Hamano, May 23, 2024
  2. 1/2 show_log: factor out interdiff/range-diff generationJunio C Hamano, May 23, 2024
  3. 2/2 format-patch: move range/inter diff at the end of a single patch outputJunio C Hamano, May 23, 2024
  4. Patrick SteinhardtMay 24, 2024
  5. Junio C HamanoMay 24, 2024
  6. Patrick SteinhardtMay 27, 2024
  7. Dragan SimicMay 27, 2024
  8. Junio C HamanoMay 27, 2024
  9. Patrick SteinhardtMay 28, 2024
  10. Junio C HamanoMay 28, 2024
  11. Patrick SteinhardtMay 29, 2024
  12. Junio C HamanoMay 29, 2024
  13. Dragan SimicMay 30, 2024
  14. 2/2 format-patch: move range/inter diff at the end of a single patch outputJunio C Hamano, May 24, 2024
  15. Dragan SimicMay 23, 2024
  16. Junio C HamanoMay 23, 2024
  17. Dragan SimicMay 23, 2024
  18. Junio C HamanoMay 24, 2024

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.