X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-cvsimport.perl;h=cacbfc0259fd1ae353117d93e345cd8c4dd41188;hb=af9a01e1c2f6a8814b817eb7f3d78814389a3212;hp=5a0255052c9360fdc4cbbdd79008a206ab3e4623;hpb=e919cb302e75141c2565106bed2f0b6cb8047570;p=git.git diff --git a/git-cvsimport.perl b/git-cvsimport.perl index 5a0255052..cacbfc025 100755 --- a/git-cvsimport.perl +++ b/git-cvsimport.perl @@ -227,6 +227,7 @@ sub conn { $proxyport = $1; } } + $repo ||= '/'; # if username is not explicit in CVSROOT, then use current user, as cvs would $user=(getlogin() || $ENV{'LOGNAME'} || $ENV{'USER'} || "anonymous") unless $user;