Re: `git-rev-parse master` not referred to by any ref?
- From
Shawn O. Pearce <spearce@spearce.org>
- Date
- Aug 26, 2007, 22:28 UTC
- Message-ID
- <20070826222852.GC18160@spearce.org>
- In-Reply-To
- <7vir72ng1n.fsf@gitster.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> wrote:
> Also, I *think* objects that are only reachable via ORIG_HEAD > are not considered as reachable by fsck/prune --- we probably > would want to fix this.
Probably. But most users also have reflog enabled on HEAD in the repository if they were to also have ORIG_HEAD there. In such a case ORIG_HEAD is usually HEAD@{1}, which is considered reachable by fsck/prune/repack.
-- Shawn.