Re: A shortcoming of the git repo format
- From
Daniel Barkalow <barkalow@iabervon.org>
- Date
- Apr 27, 2005, 23:50 UTC
- Message-ID
- <Pine.LNX.4.21.0504271939100.30848-100000@iabervon.org>
- In-Reply-To
- <426FF8C4.8080809@zytor.com>
On Wed, 27 Apr 2005, H. Peter Anvin wrote:
> One can simply say "we don't do that"; finding an unknown tag is always > a fatal error. That means the format is more brittle, but brittle does > mean it breaks as opposed to getting deformed in some, potentially > undesirable way.
If you find an object with an unknown tag, you can't do much with it anyway, even if it has a format that matches generic rules. Sure, you could trace reachability through it, but that's only helpful for a couple of generic programs (fsck and pull), and those programs ought to additionally have some clue about what's going on if they're going to act appropriately.
On the other hand, it is probably true that programs should be able to deal abstractly with new tags if built with a libgit that supports them, but that's something that we can arrange a bit later.
-Daniel *This .sig left intentionally blank*