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

git-svn.perl: Fix glob matching on svn paths

From
Tomáš Ebenlendr <ebik@ucw.cz>
Date
Oct 9, 2010, 09:07 UTC
Message-ID
<1286615236-29732-1-git-send-email-ebik@ucw.cz>
Hello,

I tried to convert our repositories to git. Our repositories have only branches (no tags, and no branch is so special to be called trunk). The directory of each individual branch live in the root of the repository (i.e., not in directory 'branches' as in standard layout).

I init the repository by: git svn init path_to_repo -b * This triggers first bogus match in match_globs(): the pattern matches an empty string - the place before first slash in any path.

We have created some branch names just by adding some suffix to another branch name. Imagine branch "devel" and "devel2". Then there is bogus match on path '/devel2' as it outputs 'devel'.

Patch in the next email fixes both these problems.
Next: Tomáš Ebenlendr
Message 1 of 4 in “git-svn.perl: Fix glob matching on svn paths”
  1. Tomáš EbenlendrOct 9, 2010
  2. git-svn.perl: Fix glob matching on svn pathsTomáš Ebenlendr, Oct 9, 2010
  3. Jonathan NiederOct 10, 2010
  4. ebikOct 14, 2010

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.