Add support for "forcing" a ref on the remote side
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 30 Jun 2005 18:04:59 +0000 (11:04 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 30 Jun 2005 18:04:59 +0000 (11:04 -0700)
commitf65fdf04a13d2252de8b2b4b161db7c43f2c28ad
tree83c2c69767df5e3c794694382f5e463694d2397c
parent94fdb7aa17cc778dff084857192e155aabca86f1
Add support for "forcing" a ref on the remote side

A "old ref" of all zeroes is considered a "don't care" ref, and allows
us to say "write the new ref regardless of what the old ref contained
(or even if it existed at all)".

This allows (if git-send-pack were to do it) creating new refs, and
fixing up old ones.
receive-pack.c