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

Re: [PATCH] format-patch: autonumber by default

From
Jeff King <peff@peff.net>
Date
Oct 2, 2008, 20:03 UTC
Message-ID
<20081002200333.GA29303@coredump.intra.peff.net>
In-Reply-To
<1222970291-5337-1-git-send-email-giuseppe.bilotta@gmail.com>
On Thu, Oct 02, 2008 at 07:58:11PM +0200, Giuseppe Bilotta wrote:
Show 6 quoted lines
> format-patch is often used for multiple patches at once when sending a
> patchset, in which case we want to number the patches; on the other
> hand, single-patches are not usually expected to be numbered.
> 
> The typical behavior expected by format-patch is therefore the one
> obtained by enabling autonumber, which should thus be the default.

I personally do not agree with this default. My usual use of format-patch is to dump a cluster of miscellaneous patches since "origin", and then grab the one(s) I want by title.

However, I would not be surprised to find that my use is unlike that of most other people[1], so I am not opposed to the patch.

[1] Actually, my use has a deficiency, which is that I am often sending 2/4, without nobody having seen 1/4, on which it might actually depend. This works in practice for me because I am often producing unrelated janitorial patches for git. :)

So I think the goal is reasonable, but:
> ---
>  builtin-log.c |    6 +++++-
>  1 files changed, 5 insertions(+), 1 deletions(-)
Documentation update?
-Peff
Previous: Giuseppe BilottaNext: Giuseppe Bilotta
Message 9 of 21 in “format-patch: autonumber by default”
  1. format-patch: autonumber by defaultGiuseppe Bilotta, Oct 2, 2008
  2. Johannes SchindelinOct 2, 2008
  3. Giuseppe BilottaOct 2, 2008
  4. Johannes SchindelinOct 2, 2008
  5. format-patch: autonumber by defaultGiuseppe Bilotta, Oct 2, 2008
  6. Jakub NarebskiOct 2, 2008
  7. Andreas EricssonOct 2, 2008
  8. format-patch: autonumber by defaultGiuseppe Bilotta, Oct 2, 2008
  9. Jeff KingOct 2, 2008
  10. format-patch: autonumber by defaultGiuseppe Bilotta, Oct 2, 2008
  11. Jeff KingOct 2, 2008
  12. Brian GernhardtOct 2, 2008
  13. format-patch: autonumber by defaultBrian Gernhardt, Oct 2, 2008
  14. format-patch: autonumber by defaultBrian Gernhardt, Oct 2, 2008
  15. Brian GernhardtOct 2, 2008
  16. format-patch: autonumber by defaultBrian Gernhardt, Oct 2, 2008
  17. Eric W. BiedermanNov 4, 2009
  18. Junio C HamanoNov 4, 2009
  19. Brian GernhardtNov 4, 2009
  20. Andreas EricssonOct 2, 2008
  21. Johannes SixtOct 2, 2008

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.