Re: why still no empty directory support in git
- From
Robin Rosenberg <robin.rosenberg.lists@dewire.com>
- Date
- Dec 30, 2008, 06:58 UTC
- Message-ID
- <200812300758.41988.robin.rosenberg.lists@dewire.com>
- In-Reply-To
- <3ab397d0812292128j65e2e1e1xf403a998f4653aac@mail.gmail.com>
tisdag 30 december 2008 06:28:58 skrev Jeff Whiteside:
> funny, i thought it was 1, by design.
Sure, but designs can be changed.
> > but i forget why a tree object couldn't point to an empty blob.
It can, but that's not the same.
You can have an empty tree, but the index doesn't store them, so they would be lost on checkout/commit. Linus sketched a solution, but nobody took the bait. Seems doable if anyone really wants it, but I'm certain it adds a lot of special cases.
Look for a discussion [RFC PATCH] Re: Empty directories... posted on 2007-07-19. It's in the middle of a long thread.
-- robin