Code

Add support for negative refs
authorLinus Torvalds <torvalds@osdl.org>
Tue, 12 Sep 2006 03:10:15 +0000 (20:10 -0700)
committerJunio C Hamano <junkio@cox.net>
Mon, 18 Sep 2006 02:09:11 +0000 (19:09 -0700)
commitb37a562a1097af7403c649a5f903a93acaf279e8
tree1ba2c642fa6bc94484876d58d8848c48e5fd274b
parente1e22e37f47e3f4d741d28920e1d27e3775c31ad
Add support for negative refs

You can remove a ref that is packed two different ways: either simply
repack all the refs without that one, or create a loose ref that has the
magic all-zero SHA1.

This also adds back the test that a ref actually has the object it
points to.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
refs.c