From mboxrd@z Thu Jan 1 00:00:00 1970 From: john at keeping.me.uk (John Keeping) Date: Thu, 5 Mar 2015 10:52:43 +0000 Subject: [PATCH] Simplify commit and tag parsing In-Reply-To: References: <1425384007-18681-1-git-send-email-cgit@cryptocrack.de> Message-ID: <20150305105243.GC1369@serenity.lan> On Thu, Mar 05, 2015 at 11:46:55AM +0100, Jason A. Donenfeld wrote: > This commit breaks ui-tag. The first few lines of tag messages are cut off. It looks like parse_user() consumes the trailing LF on the user line, so next_header_line() ends up skipping the blank line at the end of the header. I suspect the right answer is to stop parse_user() eating the LF since all of the call sites go through next_header_line() after this patch.