summaryrefslogtreecommitdiff
path: root/write_or_die.c
diff options
context:
space:
mode:
authorDaniel Barkalow <barkalow@iabervon.org>2008-03-18 02:05:23 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-03-19 05:18:57 (GMT)
commitef00d150e4f9959bf083adf92419b5053ba11584 (patch)
tree5677d12f9ef0b1877060accaec463aa472480557 /write_or_die.c
parent971f229c50aeace83d6fd30de1de755f419d4cb8 (diff)
downloadgit-ef00d150e4f9959bf083adf92419b5053ba11584.zip
git-ef00d150e4f9959bf083adf92419b5053ba11584.tar.gz
git-ef00d150e4f9959bf083adf92419b5053ba11584.tar.bz2
Tighten refspec processing
This changes the pattern matching code to not store the required final / before the *, and then to require each side to be a valid ref (or empty). In particular, any refspec that looks like it should be a pattern but doesn't quite meet the requirements will be found to be invalid as a fallback non-pattern. Signed-off-by: Daniel Barkalow <barkalow@iabervon.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'write_or_die.c')
0 files changed, 0 insertions, 0 deletions