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

Re: [PATCH bg/format-patch-p-noop] log-tree: always add --- marker when options are patch and a stat

From
Björn Gustavsson <bgustavsson@gmail.com>
Date
Nov 4, 2009, 07:00 UTC
Message-ID
<6672d0160911032300w1a2dfdbck5b1db98f2059639b@mail.gmail.com>
In-Reply-To
<7vy6mmltz9.fsf@alter.siamese.dyndns.org>
2009/11/4 Junio C Hamano <gitster@pobox.com>:
> In an ideal world, I would probably say:
>
>  * format-patch should have three-dash after the commit message, no matter
>   what format the patch is asked for, and it always will give patch text.
I agree.
>  * format-patch -p should be reinstated as a way to ask for "just patch
>   text, no diffstat".  Introducing a new option --no-stat _in addition_
>   to improve the UI is Ok.

Since -p has been broken for 14 months, is really necessary to reinstate it? (Or has the breakage not been reported because the people who care still use a git version older than 14 months?)

Why not just add a new --no-stat option?
>  * format-patch -U<n> should not be mistaken as a request to suppress
>   diffstat; what 68daa64 _tried_ to do was worthy.
I agree.
/Björn
-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB
Previous: Junio C HamanoNext: Junio C Hamano
Message 11 of 12 in “log-tree: always add --- marker when options are patch and a stat”
  1. log-tree: always add --- marker when options are patch and a statStephen Boyd, Nov 3, 2009
  2. Junio C HamanoNov 4, 2009
  3. Jeff KingNov 4, 2009
  4. Jeff KingNov 4, 2009
  5. Jeff KingNov 4, 2009
  6. Stephen BoydNov 4, 2009
  7. Jeff KingNov 4, 2009
  8. Junio C HamanoNov 4, 2009
  9. Björn GustavssonNov 4, 2009
  10. Junio C HamanoNov 4, 2009
  11. Björn GustavssonNov 4, 2009
  12. Junio C HamanoNov 4, 2009

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.