author | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Thu, 30 Jun 2005 18:04:59 +0000 (11:04 -0700) | ||
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Thu, 30 Jun 2005 18:04:59 +0000 (11:04 -0700) | ||
commit | f65fdf04a13d2252de8b2b4b161db7c43f2c28ad | |
tree | 83c2c69767df5e3c794694382f5e463694d2397c | tree | snapshot |
parent | 94fdb7aa17cc778dff084857192e155aabca86f1 | commit | diff |
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.
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 | diff | blob | history |