X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=git-svnimport.perl;h=8c17fb5ae240c0335ce211b19d516f54e145065f;hb=2c570cde98cfde704ee67ea29031493c633f971e;hp=b73d6494d80fe5ee19e1d95971e2e4e64e980dea;hpb=1fd81efad0d65afba91f8fb27b40a6345bfb50de;p=git.git diff --git a/git-svnimport.perl b/git-svnimport.perl index b73d6494d..8c17fb5ae 100755 --- a/git-svnimport.perl +++ b/git-svnimport.perl @@ -49,7 +49,7 @@ getopts("A:b:C:dDFhiI:l:mM:o:rs:t:T:SP:R:uv") or usage(); usage if $opt_h; my $tag_name = $opt_t || "tags"; -my $trunk_name = $opt_T || "trunk"; +my $trunk_name = defined $opt_T ? $opt_T : "trunk"; my $branch_name = $opt_b || "branches"; my $project_name = $opt_P || ""; $project_name = "/" . $project_name if ($project_name);