From: Lars Hjemli Date: Sun, 14 Sep 2008 08:52:05 GMT Subject: Re: [CGIT PATCH] parsing.c: handle unexpected commit/tag content Message-ID: <8c5c35580809140152t442a46datb49497cd99b0408@mail.gmail.com> In-Reply-To: <1221378782-26036-1-git-send-email-hjemli@gmail.com> On Sun, Sep 14, 2008 at 9:53 AM, Lars Hjemli wrote: > + // skip extra blank lines between headers and message body > + while (p && *p == '\n') { > + p = strchr(p, '\n'); > + if (p) > + p++; > + } Btw, this is just silly so I've changed it: while (p && *p == '\n') p++; The wip-branch at http://hjemli.net/git/cgit has a fixed-up patch. -- larsh