git-svn: fix signed commit parsing
authorNicolas Vigier <redacted>
Mon, 30 Sep 2013 14:46:14 +0000 (16:46 +0200)
committerEric Wong <redacted>
Thu, 10 Oct 2013 06:48:10 +0000 (06:48 +0000)
commit60786bd41a575126c0735c55b46e1d0ee2b358cc
treea5dcdcccb65292b46adcd7d9d8b7cb61caf2951b
parent128a96c98442524c7f2eeef4757b1e48445f24ce
git-svn: fix signed commit parsing

When parsing a commit object, git-svn wrongly think that a line
containing spaces means the end of headers and the start of the commit
message. In case of signed commit, the gpgsig entry contains a line with
one space, so "git svn dcommit" will include part of the signature in
the commit message.

An example of such problem :
http://svnweb.mageia.org/treasurer?view=revision&revision=86

This commit changes the regex to only match an empty line as separator
between the headers and the commit message.

Signed-off-by: Nicolas Vigier <redacted>
Reviewed-by: Jonathan Nieder <redacted>
Signed-off-by: Eric Wong <redacted>
git-svn.perl
git clone https://git.99rst.org/PROJECT