diff options
author | Daniel Barkalow <barkalow@iabervon.org> | 2008-03-17 22:05:23 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-03-18 22:18:57 -0700 |
commit | ef00d150e4f9959bf083adf92419b5053ba11584 (patch) | |
tree | 5677d12f9ef0b1877060accaec463aa472480557 /builtin-pack-refs.c | |
parent | 971f229c50aeace83d6fd30de1de755f419d4cb8 (diff) | |
download | git-ef00d150e4f9959bf083adf92419b5053ba11584.tar.gz |
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 'builtin-pack-refs.c')
0 files changed, 0 insertions, 0 deletions