Feat: use git ls-tree instead of ls -a
What does this MR do and why?
Feat: use git ls-tree instead of ls -a
Pros:
- This command respects .gitignore
- This command automatically works on Windows
Cons:
- Doesn't return untracked files
Related discussions:
Alternative solution
- Respects .gitignore
- Doesn't work on Windows
- Implement a separate ListFiles command
- Works on Windows
- Requires additional implementation for .gitignore