Do ref matching on the sender side rather than on receiver
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 30 Jun 2005 19:28:24 +0000 (12:28 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 30 Jun 2005 19:28:24 +0000 (12:28 -0700)
commitd0efc8a71da1855c705fd2074b219bcb158b6dbd
treef26b700095ec30154fede14638a099f49744981d
parentf65fdf04a13d2252de8b2b4b161db7c43f2c28ad
Do ref matching on the sender side rather than on receiver

This makes the receiver always send a full list of valid refs, which
will allow us to do better packs, as well as handle creation of new
refs.  Eventually.  Right now we just moved the matching and enabled it.

So now you can do

git-send-pack host:path branch1 branch2

to only send branches "branch1" and "branch2".
receive-pack.c
send-pack.c