Manlio Perillo [off-list ref] writes:
By the way, IMHO there should be an option for adding a slash to
directory names in ls-tree.
I am not sure about that; ls-tree is meant to be used by scripts
that are capable of doing that kind of thing themselves.
If we were to add an option to add a slash, I think it should be
modeled after "ls -F", whose output is meant for humans and no sane
scripts would read from it. It is very likely that such an option
should add @ at the end of the name for a symbolic link, so it won't
be useful for your patch.