From: Daniel Barkalow Date: Wed, 24 Aug 2005 21:04:51 GMT Subject: Re: [RFC] undo and redo Message-ID: In-Reply-To: <20050824204736.GA13194@hpsvcnb.fc.hp.com> On Wed, 24 Aug 2005, Carl Baldwin wrote: > This is interesting. Can a ref be to a tree rather than a commit? And > it still works? I guess it would. I hadn't thought about that. Generally, each subdirectory of refs/ has refs to objects of the same type, and heads/ is commits, but other directories are other things. tags/ is all tag objects, and you could have undo/ be trees. > Will prune preserve any tree mentioned in any file in refs? How does > this work exactly? It keeps any object reachable from an object that there's a ref to in refs. -Daniel *This .sig left intentionally blank*