Last time I tried this was more than two years ago . It's time for another try and see if the community has any interest in it.
The command is straight forward, it's a ls-like version for listing things in git. It respects $LS_COLORS and does column output like GNU ls. "ls" shows cached entries (but no recursion), "ls -o" show untracked files. I want ls-tree, "diff --name-only" and "diff --name-only --cached" too, but they are not implemented yet. WIP quality, this is to gather comments on the idea.  http://thread.gmane.org/gmane.comp.version-control.git/166405 Nguyễn Thái Ngọc Duy (8): Import $LS_COLORS parsing code from coreutils ls_colors.c: a bit of document on print_color_indicator input ls_colors.c: enable coloring on u+x files ls_colors.c: new color descriptors ls-files: add --color to highlight based on $LS_COLORS ls-files: add --column ls-files: support --max-depth Add git-ls, a user friendly version of ls-files and more Makefile | 1 + builtin.h | 1 + builtin/ls-files.c | 80 ++++++++- git.c | 1 + ls_colors.c (new) | 487 +++++++++++++++++++++++++++++++++++++++++++++++++++++ ls_colors.h (new) | 20 +++ 6 files changed, 588 insertions(+), 2 deletions(-) create mode 100644 ls_colors.c create mode 100644 ls_colors.h -- 22.214.171.124.gaa8c3ea -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html