Most of the callers of lsTree appear to be looking for recursive behaviour, when the method historically has been implemented non-recursively.

Verified from git 1.1.28, which predates the git-client split
added a test case for getSubmodules