Re: [CGIT PATCH] parsing.c: handle unexpected commit/tag content
- From
- Lars Hjemli <hjemli@gmail.com>
- Date
- Sep 14, 2008, 08:52 UTC
- 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 <hjemli@gmail.com> wrote:
Show 6 quoted lines
> + // 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