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

Re: [PATCH] format-patch: Produce better output with --inline or --attach

From
Kevin Ballard <kevin@sb.org>
Date
Jul 30, 2008, 18:30 UTC
Message-ID
<B805BDA1-6C22-4488-B5F5-6DA8CC729C06@sb.org>
In-Reply-To
<alpine.LSU.1.00.0807301624410.3486@wbgn129.biozentrum.uni-wuerzburg.de>
On Jul 30, 2008, at 7:29 AM, Johannes Schindelin wrote:
Show 11 quoted lines
> Hi,
>
> On Tue, 29 Jul 2008, Kevin Ballard wrote:
>
>> MIME defines the encapsulation boundary as including the preceding  
>> CRLF (or in
>
> This line will still be too long in git log's output, as well as in  
> git
> shortlog's output.  I thought we had a suggestion to use at most 76
> characters per line in SubmittingPatches, but apparently we don't.
Good point. I'll send another re-wrapped patch.
Show 13 quoted lines
>> The second change is to always write the line termination character
>> (default: newline) even when using --inline or --attach. This is  
>> simply
>> to improve the aesthetics of the resulting message. When using -- 
>> inline
>> an email client should render the resulting message identically to  
>> the
>> non-inline version. And when using --attach this adds a blank line
>> preceding the attachment in the email, which is visually attractive.
>
> It appears that your patch has one uncontroversial and one  
> controversial
> part, then.

Is this controversial? Nobody's objected so far. My goal with this change is to make the --inline output render exactly the same as the default output in a mail client. I can't think of any downside.

-Kevin Ballard
-- 
Kevin Ballard
http://kevin.sb.org
kevin@sb.org
http://www.tildesoft.com
Previous: Johannes SchindelinNext: Kevin Ballard
Message 5 of 8 in “format-patch: Produce better output with --inline or --attach”
  1. format-patch: Produce better output with --inline or --attachKevin Ballard, Jul 29, 2008
  2. Jeff KingJul 30, 2008
  3. format-patch: Produce better output with --inline or --attachKevin Ballard, Jul 30, 2008
  4. Johannes SchindelinJul 30, 2008
  5. Kevin BallardJul 30, 2008
  6. Kevin BallardJul 30, 2008
  7. Jeff KingJul 31, 2008
  8. Junio C HamanoJul 30, 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.