makelove
makelove copied to clipboard
Provide ::git-ls-files:: to resolve git submodules
Resolve #22: Cloned subdirectory fails
ls-tree doesn't support --recurse-submodules, but --ls-files does. So provide it as an option.
This is a draft because I'm not sure how it handles symlinks. Also, I think before merging this pr, there should be tests for handling different cases. I don't understand why ls-tree is used instead of ls-files except maybe because it wasn't clear how to get only filenames (--abbrev=0 was definitely unobvious).