refname objects: do not prune
commitd457a731c1fbd672def5fa2957b33fbe6cfacea9
authorMichael J Gruber <git@drmicha.warpmail.net>
Tue, 22 Feb 2011 15:18:45 +0000 (22 16:18 +0100)
committerMichael J Gruber <git@drmicha.warpmail.net>
Sun, 4 Nov 2012 16:33:54 +0000 (4 17:33 +0100)
tree64d2498ebc5e452c689b792c1959749988c59d99
parent54991f2bb33a966609ff94ac4f8824bf9091ad7d
refname objects: do not prune

Refname objects are blobs with content "<refname>" which are typically
dangling. Protect them from prune and fsck by pretending that they are
reachable from existing refs.
builtin/fsck.c
cache.h
reachable.c
sha1_file.c