author | Daniel Barkalow <barkalow@iabervon.org> | |
Fri, 25 May 2007 05:20:56 +0000 (01:20 -0400) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 26 May 2007 08:20:10 +0000 (01:20 -0700) | ||
commit | 8558fd9ece4c8250a037a6d5482a8040d600ef47 | |
tree | a8a81811e686e23a90e201348f9397f6f17506c8 | tree | snapshot |
parent | b516968ff62ec153e008d033c153affd7ba9ddc6 | commit | diff |
Move refspec pattern matching to match_refs().
This means that send-pack and http-push will support pattern refspecs,
so builtin-push.c doesn't have to expand them, and also git push can
just turn --tags into "refs/tags/*", further simplifying
builtin-push.c
check_ref_format() gets a third "conditionally okay" result for
something that's valid as a pattern but not as a particular ref.
Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This means that send-pack and http-push will support pattern refspecs,
so builtin-push.c doesn't have to expand them, and also git push can
just turn --tags into "refs/tags/*", further simplifying
builtin-push.c
check_ref_format() gets a third "conditionally okay" result for
something that's valid as a pattern but not as a particular ref.
Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-push.c | diff | blob | history | |
refs.c | diff | blob | history | |
remote.c | diff | blob | history | |
send-pack.c | diff | blob | history |