Re: [RFC] undo and redo
- From
Daniel Barkalow <barkalow@iabervon.org>
- Date
- Aug 24, 2005, 21:04 UTC
- Message-ID
- <Pine.LNX.4.63.0508241651420.23242@iabervon.org>
- 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*