I noticed that git archive will barf when the root tree is empty.
Instead, it should probably return an empty archive. I doubt many people
really care about this corner case in practice, but it seems like we
should handle it more gracefully (and it's an easy fix).
It came to my attention because
Jeff King p...@peff.net writes:
On Sun, Mar 10, 2013 at 09:31:24PM -0400, Jeff King wrote:
I noticed that git archive will barf when the root tree is empty.
[...]
I didn't bother even looking at empty subtrees. AFAIK, git should never
produce them (it omits the tree entirely if there is no
2 matches
Mail list logo