git-svn: fix buggy regular expression usage in several places
commit4e9f6cc78e5d955bd0faffe76ae9aea6590189f1
authorEric Wong <normalperson@yhbt.net>
Fri, 9 Feb 2007 20:17:57 +0000 (9 12:17 -0800)
committerEric Wong <normalperson@yhbt.net>
Fri, 23 Feb 2007 08:57:12 +0000 (23 00:57 -0800)
treed3ea0c81512d050b69ae9b30390ba6e3a96d09a0
parent0bed5eaa0edc3a2dfa0d5910ff1fb280539b242d
git-svn: fix buggy regular expression usage in several places

I incorrectly used $path/? and $path/* to strip off leading
directories, but places where $path = 'branches/0.17' would
incorrectly strip changes to 'branches/0.17.1' as well.

For globs, we require that our '*' is its own path component
(surrounded by '/' or nothing).  Enforce this when --prefix= is
passed to us, too.

Signed-off-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl