I want to get a list of file names in a directory on my master branch without cloning the repository.
I've looked at ls-file and ls-tree but they only seem to work locally. My current solution is to use git-archive
and split the content using pattern matching.
My current regex for a file path is ^\/?([A-z0-9-_+]+\/)*([A-z0-9-_+]+(\.[A-z0-9]+)?)$
"over the wire" I want to receive something like
file_1.file
file_2.file
...