author | Jeff King <peff@peff.net> | |
Fri, 19 Oct 2007 09:04:00 +0000 (05:04 -0400) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Sat, 20 Oct 2007 02:59:10 +0000 (22:59 -0400) | ||
commit | 5eb73581679abb41dcdf9ad7fa63fa156e078790 | |
tree | 4b93fe6adafeb10894845f6d77794d0bc4650f4a | tree | snapshot |
parent | e7187e4e0fece6c2947fbceff251f3ce69ae0aa8 | commit | diff |
send-pack: respect '+' on wildcard refspecs
When matching source and destination refs, we were failing
to pull the 'force' parameter from wildcard refspecs (but
not explicit ones) and attach it to the ref struct.
This adds a test for explicit and wildcard refspecs; the
latter fails without this patch.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
When matching source and destination refs, we were failing
to pull the 'force' parameter from wildcard refspecs (but
not explicit ones) and attach it to the ref struct.
This adds a test for explicit and wildcard refspecs; the
latter fails without this patch.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
remote.c | diff | blob | history | |
t/t5400-send-pack.sh | diff | blob | history |