summaryrefslogtreecommitdiff
path: root/builtin-show-branch.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@osdl.org>2006-09-12 03:10:15 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-09-18 02:09:11 (GMT)
commitb37a562a1097af7403c649a5f903a93acaf279e8 (patch)
tree1ba2c642fa6bc94484876d58d8848c48e5fd274b /builtin-show-branch.c
parente1e22e37f47e3f4d741d28920e1d27e3775c31ad (diff)
downloadgit-b37a562a1097af7403c649a5f903a93acaf279e8.zip
git-b37a562a1097af7403c649a5f903a93acaf279e8.tar.gz
git-b37a562a1097af7403c649a5f903a93acaf279e8.tar.bz2
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>
Diffstat (limited to 'builtin-show-branch.c')
0 files changed, 0 insertions, 0 deletions