send-pack: respect '+' on wildcard refspecs
commit5eb73581679abb41dcdf9ad7fa63fa156e078790
authorJeff King <peff@peff.net>
Fri, 19 Oct 2007 09:04:00 +0000 (19 05:04 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Sat, 20 Oct 2007 02:59:10 +0000 (19 22:59 -0400)
tree4b93fe6adafeb10894845f6d77794d0bc4650f4a
parente7187e4e0fece6c2947fbceff251f3ce69ae0aa8
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>
remote.c
t/t5400-send-pack.sh