Code

git-svn: ignore leading blank lines in svn:ignore
authorMichael Haggerty <mhagger@alum.mit.edu>
Fri, 7 Aug 2009 19:21:21 +0000 (21:21 +0200)
committerEric Wong <normalperson@yhbt.net>
Mon, 10 Aug 2009 09:35:55 +0000 (02:35 -0700)
commita7d72544b112f093b6189a86d05b198b2be73828
treeb7e0e2fbfc87d053f190a953df4da1d44c40ce80
parent63de84ad60984105b1cd60fb888968b352539313
git-svn: ignore leading blank lines in svn:ignore

Subversion ignores all blank lines in svn:ignore properties.  The old
git-svn code ignored blank lines everywhere except for the first line
of the svn:ignore property.  This patch makes the "git svn
show-ignore" and "git svn create-ignore" commands ignore leading blank
lines, too.

Also include leading blank lines in the test suite.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Acked-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl
t/t9101-git-svn-props.sh