refname objects: do not prunevob/virtual-refs-for-rnos
commit1ddda5eefb55de5c88d071fcb40e6709be60672f
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>
Mon, 25 Mar 2013 15:47:14 +0000 (25 16:47 +0100)
treef289215a83662b9354a3e79e151db8b791dd9921
parentddc39398152011b6a071e28b0f18f69ba427d0c0
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