Thread (5 messages) 5 messages, 4 authors, 2017-04-05

Re: [PATCH v4 2/5] dir_iterator: iterate over dir after its contents

flat view

From: Junio C Hamano <hidden>
Date: 2017-03-30 06:09:07

Michael Haggerty [off-list ref] writes:
I think IN_ORDER really only applies to *binary* trees, not arbitrary
trees like a filesystem.
How true.  Even if we were giving a sorted output (and dir-iterator
doesn't and there is no need for it to), dir/ should come before any
of its contents, so for that application we can use pre-order, and
there is no sensible and useful definition of in-order.

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help