author | Daniel Barkalow <barkalow@iabervon.org> | |
Sat, 7 Mar 2009 06:11:36 +0000 (01:11 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 7 Mar 2009 20:19:24 +0000 (12:19 -0800) | ||
commit | 08fbdb30438fd7087c5abe15840a22fe21094515 | |
tree | 4c3a23090737b8c858911c1985e219ae9ee1c7ba | tree | snapshot |
parent | e928213fb40c106650dca2632b5e830cfaffb86a | commit | diff |
Keep '*' in pattern refspecs
In order to do anything more capable with refspecs, the first step is
to keep the entire input. Additionally, validate patterns by checking
for the ref matching the rules for a pattern as given by
check_ref_format(). This requires a slight change to
check_ref_format() to make it enforce the requirement that the '*'
immediately follow a '/'.
Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
In order to do anything more capable with refspecs, the first step is
to keep the entire input. Additionally, validate patterns by checking
for the ref matching the rules for a pattern as given by
check_ref_format(). This requires a slight change to
check_ref_format() to make it enforce the requirement that the '*'
immediately follow a '/'.
Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.c | diff | blob | history | |
remote.c | diff | blob | history |