summaryrefslogtreecommitdiff
path: root/builtin-rev-parse.c
diff options
context:
space:
mode:
authorLibravatar Eric Wong <normalperson@yhbt.net>2007-02-09 12:17:57 -0800
committerLibravatar Eric Wong <normalperson@yhbt.net>2007-02-23 00:57:12 -0800
commit4e9f6cc78e5d955bd0faffe76ae9aea6590189f1 (patch)
treed3ea0c81512d050b69ae9b30390ba6e3a96d09a0 /builtin-rev-parse.c
parentgit-svn: enable follow-parent functionality by default (diff)
downloadtgif-4e9f6cc78e5d955bd0faffe76ae9aea6590189f1.tar.xz
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>
Diffstat (limited to 'builtin-rev-parse.c')
0 files changed, 0 insertions, 0 deletions