git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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);

Next: Jakub Narebski
Message 1 of 4 in “git_get_projects_list and $projects_list”
  1. Aneesh KumarOct 31, 2006
  2. Jakub NarebskiOct 31, 2006
  3. Jakub NarebskiOct 31, 2006
  4. Aneesh KumarNov 2, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.