git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Tomáš Ebenlendr" <ebik@ucw.cz>
To: Eric Wong <normalperson@yhbt.net>
Cc: git@vger.kernel.org
Subject: git-svn.perl: Fix glob matching on svn paths
Date: Sat,  9 Oct 2010 11:07:15 +0200	[thread overview]
Message-ID: <1286615236-29732-1-git-send-email-ebik@ucw.cz> (raw)

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.

             reply	other threads:[~2010-10-09  9:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-09  9:07 Tomáš Ebenlendr [this message]
2010-10-09  9:07 ` [PATCH] git-svn.perl: Fix glob matching on svn paths Tomáš Ebenlendr
2010-10-10  6:15   ` Jonathan Nieder
2010-10-14  9:34     ` ebik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1286615236-29732-1-git-send-email-ebik@ucw.cz \
    --to=ebik@ucw.cz \
    --cc=git@vger.kernel.org \
    --cc=normalperson@yhbt.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 NNTP newsgroup(s).