* Packing empty subtrees: good/bad/indifferent?
@ 2006-06-20 0:09 Shawn Pearce
0 siblings, 0 replies; only message in thread
From: Shawn Pearce @ 2006-06-20 0:09 UTC (permalink / raw)
To: git
So in my Eclipse plugin/Java GIT implementation I'm trying to figure
out what to do if the API caller feeds me a subtree which is empty.
Core GIT won't store an empty subtree simply because the subtree
can't exist in the index without at least one file in the tree.
But my Java implementation doesn't suffer from that limitation and
will happily store an empty subtree (and checkout an empty directory)
if that is what the caller gave it. :-)
In the plugin's UI level I'm trying relatively hard to refuse putting
an empty directory into the repository as an empty subtree but I'm
now wondering if I should enforce that even lower (like down in
the actual tree writer) just to be on the safe side.
Anyone have two cents they could share on the matter?
--
Shawn.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-06-20 0:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-20 0:09 Packing empty subtrees: good/bad/indifferent? Shawn Pearce
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.