I am looking for something similar to the --group-directories-first
parameter of ls
for the command
git ls-files
Normally, the output is alphabetically sorted and looks like this:
anotherfile.c
directory/file.c
file.c
I want it to look like this:
directory/file.c
anotherfile.c
file.c