Compared to v1, git-ls now does not accept ls-files options (previous git-ls is more like an alias of ls-files). I want this because ls may take a different set of options than ls-files. Most functionality is shared so if you're not happy with ls, you can fall back to ls-files. New alias options are supported, -1 == --no-column, -R == --max-depth=-1. If more than one file criteria is chosen (e.g. "ls -cmo") then --tag is implied. File order is fixed ("ls-files -cmo" actually shows two or three separate listings, "ls -cmo" shows one sorted listing). It also shows directories from the index. Documentation is there. No tests yet because the behavior may still need some polishing. Nguyễn Thái Ngọc Duy (17): ls_colors.c: add $LS_COLORS parsing code ls_colors.c: parse color.ls.* from config file ls_colors.c: add function to color a file name ls_colors.c: highlight submodules like directories ls-files: buffer full item in strbuf before printing ls-files: add --color to highlight file names ls-files: add --column ls-files: support --max-depth ls-files: split main ls-files logic into ls_files() function Add git-ls, a user friendly version of ls-files and more ls: -u does not imply showing stages ls: add -R/--recursive short for --max-depth=-1 ls: add -1 short for --no-column in the spirit of GNU ls ls: add -t back ls: sort output and remove duplicates ls: do not show duplicate cached entries ls: show directories as well as files .gitignore | 1 + Documentation/config.txt | 22 ++ Documentation/git-ls-files.txt | 22 ++ Documentation/git-ls.txt (new) | 95 ++++++++ Makefile | 2 + builtin.h | 1 + builtin/ls-files.c | 446 +++++++++++++++++++++++++++++------- color.h | 10 + command-list.txt | 1 + git.c | 1 + ls_colors.c (new) | 496 +++++++++++++++++++++++++++++++++++++++++ 11 files changed, 1012 insertions(+), 85 deletions(-) create mode 100644 Documentation/git-ls.txt create mode 100644 ls_colors.c -- 1.9.1.345.ga1a145c -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html