This is a hack, to scratch my itch. These patches add "git ls",
which is equivalent to "git ls-files --max-depth 1|column"
Anyone up for coloring? ;)
Nguyễn Thái Ngọc Duy (3):
ls-files: support --max-depth
ls-files: support -o --max-depth (more of a hack as fill_directory
should support this)
Add "ls", which is basically ls-files with user-friendly settings
builtin-ls-files.c | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++
builtin.h | 1 +
git.c | 1 +
3 files changed, 74 insertions(+), 0 deletions(-)