git_get_projects_list and $projects_list
- From
Aneesh Kumar <aneesh.kumar@gmail.com>
- Date
- Oct 31, 2006, 11:47 UTC
- Message-ID
- <cc723f590610310347h58cdd69bse6d96b19479a4f6a@mail.gmail.com>
Ok if i have
$projects_list = "/a/git////" ==> ending "/" . the function will fail at check_export_ok()
That is because we get the $pfxlen wrong. We should ignore all the trailing "/" my $subdir = substr($File::Find::name, $pfxlen + 1);