Thread (1 message) 1 message, 1 author, 2016-06-15

Re: Add an empty directory?

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:04

Petr Baudis [off-list ref] writes:
the object databases supports it, but the index file does not. But yes,
it should be supported, I think.
I think if this is done correctly "read-tree -m -u" two-tree
switch could even remove directories that existed in the old
tree but not in the new tree that has become empty.

On the other hand, although I haven't started looking, adding
this to index file might involve a major surgery.  Practically
everybody expects it is does not have an directory entry.  This
includes reading trees, merging two or more stages, finding
directory/file conflicts, etc. etc...
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help