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

Re: [PATCH 3/3] imap-send.c: Clean up coding style to better match the rest of the git codebase.

From
Jakub Narebski <jnareb@gmail.com>
Date
Jul 7, 2008, 12:40 UTC
Message-ID
<m3zloteukz.fsf@localhost.localdomain>
In-Reply-To
<1096648c0807070517o8f22f0cs4d25103675bd635d@mail.gmail.com>
"Rob Shearman" <robertshearman@gmail.com> writes:
Show 11 quoted lines
> 2008/7/7 Junio C Hamano <gitster@pobox.com>:
> > These patches seem to have been linewrapped severely.  I _could_ fix them
> > up and apply, but the last one being about whitespace and style fixes, I'd
> > rather not.
> 
> 2008/6/22 Junio C Hamano <gitster@pobox.com>:
> > Next time please do _not_ attach *.diff but follow the style of patch
> > submission other people do (see recent patch from Linus for example).
> 
> How do you propose I fix this? I attached the patch last time to avoid
> the problem of line wrapping.

If possible to turn of linewrapping, or use either git-send-email (I think you can send patches also via Gmail) or git-imap-send, then preferred solution is to have patch inline.

If it is not possible, then attach the patch, but preferrably
 1) with text/plain mimetype (.txt extension instead of .patch or
    .diff could be required for that)
 2) 8bit (preferred) or quoted-printable (if 8bit is not possible)
    transfer encoding (base64 is terrible waste of space); text/plain
    should chose quoted-printable at worst
 3) use "inline" attachement (select 'suggest to display attachement'
    or something like that), so it is possible to select attachement
    and hit reply.
-- 
Jakub Narebski
Poland
ShadeHawk on #git
Previous: Rob ShearmanNext: Rob Shearman
Message 4 of 6 in “imap-send.c: Clean up coding style to better match the rest of the git codebase.”
  1. 3/3 imap-send.c: Clean up coding style to better match the rest of the git codebase.Rob Shearman, Jul 7, 2008
  2. Junio C HamanoJul 7, 2008
  3. Rob ShearmanJul 7, 2008
  4. Jakub NarebskiJul 7, 2008
  5. Rob ShearmanJul 8, 2008
  6. Jakub NarebskiJul 12, 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.