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

Re: git am with MIME

From
Jeff King <peff@peff.net>
Date
Aug 20, 2008, 21:58 UTC
Message-ID
<20080820215833.GA8137@coredump.intra.peff.net>
In-Reply-To
<20080820195734.GE16626@blimp.local>
On Wed, Aug 20, 2008 at 09:57:34PM +0200, Alex Riesen wrote:
Show 5 quoted lines
> > -	strbuf_remove(&f, at - f.buf, el + 1);
> > +	strbuf_remove(&f, at - f.buf, el + (at[el] ? 1 : 0));
>  +	strbuf_remove(&f, at - f.buf, el + !!at[el]);
> 
> (Some people'll kill me for that :)
Ewwww. ;)
-Peff
Previous: Alex RiesenNext: Eric Raible
Message 4 of 6 in “git am with MIME”
  1. Lea WiemannAug 19, 2008
  2. Jeff KingAug 19, 2008
  3. Alex RiesenAug 20, 2008
  4. Jeff KingAug 20, 2008
  5. Eric RaibleAug 21, 2008
  6. Alex RiesenAug 21, 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.