git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* git-svn.perl: Fix glob matching on svn paths
@ 2010-10-09  9:07 Tomáš Ebenlendr
  2010-10-09  9:07 ` [PATCH] " Tomáš Ebenlendr
  0 siblings, 1 reply; 4+ messages in thread
From: Tomáš Ebenlendr @ 2010-10-09  9:07 UTC (permalink / raw)
  To: Eric Wong; +Cc: git

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-10-14  9:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-09  9:07 git-svn.perl: Fix glob matching on svn paths Tomáš Ebenlendr
2010-10-09  9:07 ` [PATCH] " Tomáš Ebenlendr
2010-10-10  6:15   ` Jonathan Nieder
2010-10-14  9:34     ` ebik

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).