author | Eric Wong <normalperson@yhbt.net> | |
Fri, 9 Feb 2007 20:17:57 +0000 (12:17 -0800) | ||
committer | Eric Wong <normalperson@yhbt.net> | |
Fri, 23 Feb 2007 08:57:12 +0000 (00:57 -0800) | ||
commit | 4e9f6cc78e5d955bd0faffe76ae9aea6590189f1 | |
tree | d3ea0c81512d050b69ae9b30390ba6e3a96d09a0 | tree | snapshot |
parent | 0bed5eaa0edc3a2dfa0d5910ff1fb280539b242d | commit | diff |
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>
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 | diff | blob | history |