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

Re: [PATCH] format-patch: add --filename-prefix to prepend a prefix to output file names

From
Stephen Boyd <bebarino@gmail.com>
Date
Jun 14, 2009, 19:46 UTC
Message-ID
<4A3553A5.3060209@gmail.com>
In-Reply-To
<7vd497qjhm.fsf@alter.siamese.dyndns.org>
Junio C Hamano wrote:
Show 11 quoted lines
> Isn't the point of the exercise to come up with something like:
>
>       frotz-0001-first-patch-in-frotz-topic.patch
>       frotz-0002-second-patch-in-frotz-topic.patch
>       frotz-0003-third-patch-in-frotz-topic.patch
>
>       nitfol-0001-first-patch-in-nitfol-topic.patch
>       nitfol-0002-second-patch-in-nitfol-topic.patch
>
> with two invocations of format-patch, and when they are dropped in the
> same directory, the patches from the same series clump together?

Ok. Maybe spelling out the full example in the commit message would be clearer.

Show 6 quoted lines
>
> I personally do not think this is worth the additional code (you can
> easily run with --outdir=frotz and then with --outdir=nitfol and obtain
> frotz/000?-*.patch and nitfol/000?-*.patch to get the same clumping) but
> if the convention is to use dash instead of slash, the patch will save one
> step from users.

I agree. How is it any harder to do 'git send-email frotz' instead of 'git send-email frotz-*.patch'? The only advantage I see is you get attachment filenames with a prefix.

Previous: Junio C HamanoNext: Nguyen Thai Ngoc Duy
Message 12 of 15 in “format-patch: add --prefix to prepend a prefix to output file names”
  1. format-patch: add --prefix to prepend a prefix to output file namesNguyễn Thái Ngọc Duy, Jun 9, 2009
  2. Andreas EricssonJun 9, 2009
  3. Nguyen Thai Ngoc DuyJun 9, 2009
  4. format-patch: add --filename-prefix to prepend a prefix to output file namesNguyễn Thái Ngọc Duy, Jun 10, 2009
  5. Jakub NarebskiJun 10, 2009
  6. Nguyen Thai Ngoc DuyJun 10, 2009
  7. Junio C HamanoJun 10, 2009
  8. format-patch: add --filename-prefix to prepend a prefix to output file namesNguyễn Thái Ngọc Duy, Jun 14, 2009
  9. Junio C HamanoJun 14, 2009
  10. Stephen BoydJun 14, 2009
  11. Junio C HamanoJun 14, 2009
  12. Stephen BoydJun 14, 2009
  13. Nguyen Thai Ngoc DuyJun 14, 2009
  14. Johannes SixtJun 9, 2009
  15. Nguyen Thai Ngoc DuyJun 9, 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.