Skip to content

Conversation

@idbrii
Copy link
Contributor

@idbrii idbrii commented Jan 6, 2022

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).

Fix pfirsich#22: Cloned subdirectory fails

ls-tree doesn't support --recurse-submodules, but --ls-files does. So
provide it as an option.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cloned subdirectory fails

1 participant