From: Jeff King Date: Wed, 20 Aug 2008 21:58:33 GMT Subject: Re: git am with MIME 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: > > - 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