Code

Allow git-svnimport to take "" as the trunk directory.
authorAlberto Bertogli <albertito@gmail.com>
Tue, 14 Aug 2007 04:03:18 +0000 (01:03 -0300)
committerJunio C Hamano <gitster@pobox.com>
Tue, 14 Aug 2007 04:19:20 +0000 (21:19 -0700)
commit0476786e645ae18096d6a63de5fd4b756071b522
treed638a8602d8b6b0d716f0e36b64e35f230b3f6ca
parent70f64148bf7ca5136f2aa18c41b3b8f4bebfd138
Allow git-svnimport to take "" as the trunk directory.

Some repositories started with the trunk in "/" and then moved it to the
standard "trunk/" location.

On these repositories, the correct thing would be to call git-svnimport -T "",
but because of the way the options are handled, it uses the default "trunk"
instead of the given empty string. This patch fixes that behaviour.

Reported by Leandro Lucarella <llucax@gmail.com>.

Signed-off-by: Alberto Bertogli <albertito@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-svnimport.perl