Steffen Nurpmeso [off-list ref] writes:
I think this behaviour contradicts the manual which strongly links
ls-tree to ls(1):
Patches to the documentation is very much welcomed.
Somewhere the similarity must end, and actually it ends a lot
earlier, as "/bin/ls" takes exact paths while "ls-tree" (or any
other Git command for that matter) takes a pathspec pattern,
and not having a path that matches the pathspec pattern is not
an error condition.
Thanks.