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

Re: [PATCH] fmt-patch: Support --attach

From
Junio C Hamano <junkio@cox.net>
Date
May 20, 2006, 18:00 UTC
Message-ID
<7vu07k1sr8.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.63.0605201945110.32590@wbgn013.biozentrum.uni-wuerzburg.de>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 8 quoted lines
> On Sat, 20 May 2006, Junio C Hamano wrote:
>
>> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
>
> There are two options missing: --signoff and --check.
>
> --signoff is my fault: it is probably a good thing to drop it from 
> format-patch, and only leave it in applymbox.

I think that is fine. format-patch only formats existing commits, and if you are signing off something you could already have done that when you made the commits anyway, so that flag was redundant.

> As for --check: how about having yet another diff "format": 
> DIFF_FORMAT_CHECK? Instead of showing the diff, it only shows the line(s) 
> which are offending.
Never thought of that but I think it makes sense.  

I liked the way Sean did the --summary; I am wondering if we could clean up the --with-* stuff in a similar way. We currently do "if DIFF_FORMAT_XYZ or with_xyz then do this" which is quite honestly disgusting (my fault).

Previous: Johannes SchindelinNext: Johannes Schindelin
Message 6 of 7 in “fmt-patch: Support --attach”
  1. fmt-patch: Support --attachJohannes Schindelin, May 20, 2006
  2. Jakub NarebskiMay 20, 2006
  3. Johannes SchindelinMay 20, 2006
  4. Junio C HamanoMay 20, 2006
  5. Johannes SchindelinMay 20, 2006
  6. Junio C HamanoMay 20, 2006
  7. Johannes SchindelinMay 20, 2006

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.