IgnorantGuru/spacefm — pull request #245 by marcelof01 (2013-01-02 08:52:47+00:00)
Title: Tree view, only entries with subfolders are expandable

I always wanted this one, now instead of asking for it I tried this "GIT" thing and coded it :)

Now regarding technical aspects: when browsing a directory now spacefm would "peep-read" every subfolder inside it to check if they also have at least one subfolder. This might look like a drawback, (okay, it IS a drawback) but think of all the time you spend (or at least I spent) checking for empty folders in search of a subdirectory!!! I don't think it's a performance issue anyway, since it will quit the loop just after finding the first subfolder, this new feature could be optional anyway.

The "( no subfolder )" option is still there (ptk_dir_tree_get_value), I'll look deeper into it to check if it's needed for something else, afaik it isn't.

P.S. There's one "test commit" I made by mistake, please ignore that one, I'll research on how to delete bad commits in the meantime :)