Code

add special "matching refs" refspec
authorPaolo Bonzini <bonzini@gnu.org>
Mon, 28 Apr 2008 15:32:12 +0000 (11:32 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 5 May 2008 00:41:39 +0000 (17:41 -0700)
commita83619d692deeb2565335144078465acb2dd1457
tree568c8aa7b0092ee996e1a4612e89ff252d61ac60
parentc697ad143ba1ff58b29e7efe149d244d4b7010a5
add special "matching refs" refspec

This patch provides a way to specify "push matching heads" using a
special refspec ":".  This is useful because it allows "push = +:"
as a way to specify that matching refs will be pushed but, in addition,
forced updates will be allowed, which was not possible before.

Signed-off-by: Paolo Bonzini <bonzini@gnu.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-push.txt
builtin-send-pack.c
remote.c
remote.h
t/t5511-refspec.sh
t/t5516-fetch-push.sh