list-files redesign
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest25 patches 10 repliesIn review
- v116 patches 12 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/25 | ls_colors.c: add $LS_COLORS parsing codeMakefile color.h ls_colors.c | +407 | 0 replies | |
| 2/25 | ls_colors.c: parse color.ls.* from config fileDocumentation/ ls_colors.c | +40 | 0 replies | |
| 3/25 | ls_colors.c: add a function to color a file namecolor.h ls_colors.c | +68 | 0 replies | |
| 4/25 | ls_colors.c: highlight submodules like directoriesDocumentation/ ls_colors.c | +9 | 0 replies | |
| 5/25 | list-files: command skeleton.gitignore Makefile builtin.h +3 more | +146 | 0 replies | |
| 6/25 | list-files: show paths relative to cwdbuiltin/ t/ | +32 | 0 replies | |
| 7/25 | list-files: add tag to each entry, filter duplicate tagsbuiltin/ | +63 | 1 reply | |
| 8/25 | list-files: add --[no-]column, -C and -1builtin/ t/ | +48 | 0 replies | |
| 9/25 | list-files: add --max-depth, -R and default to --max-depth=0builtin/ t/ | +40 | 0 replies | |
| 10/25 | list-files: show directories as well as filesbuiltin/ t/ | +91 | 0 replies | |
| 11/25 | list-files: add --colorbuiltin/ t/ | +73 | 1 reply | |
| 12/25 | list-files: add -F/--classifybuiltin/ t/ | +40 | 0 replies | |
| 13/25 | list-files: new indicator '&' for submodules when -F is usedbuiltin/ t/ | +3 | 0 replies | |
| 14/25 | list-files: add --cached and --othersbuiltin/ t/ | +115 | 0 replies | |
| 15/25 | list-files: add --ignoredbuiltin/ t/ | +31 | 1 reply | |
| 16/25 | list-files: add --unmergedbuiltin/ t/ | +80 | 1 reply | |
| 17/25 | list-files: add file modification options -[admADM]builtin/ t/ wt-status.c +1 more | +137 | 1 reply | |
| 18/25 | list-files: delete redundant cached entriesbuiltin/ t/ | +22 | 2 replies | |
| 19/25 | list-files: make alias 'ls' default to 'list-files'config.c | +8 | 0 replies | |
| 20/25 | list-files: preload indexbuiltin/ | +1 | 1 reply | |
| 21/25 | list-files: reduce match_pathspec calls in matched()builtin/ | +37 | 0 replies | |
| 22/25 | list-files: only do diff that is actually usefulbuiltin/ wt-status.c wt-status.h | +22 | 0 replies | |
| 23/25 | pathspec: move getenv() code out of prefix_pathspec()pathspec.c | +27 | 0 replies | |
| 24/25 | list-files: make :(glob) pathspec defaultbuiltin/ pathspec.c pathspec.h +1 more | +12 | 0 replies | |
| 25/25 | list-files: documentationDocumentation/ | +115 | 1 reply |
Reviews trailers per patch
None of the 25 patches has a Reviewed-by or Acked-by.
| Patch | Michael Blume | Eric Sunshine | Junio C Hamano |
|---|---|---|---|
| 1/25 | |||
| 2/25 | Helped-by | ||
| 3/25 | |||
| 4/25 | |||
| 5/25 | |||
| 6/25 | |||
| 7/25 | |||
| 8/25 | |||
| 9/25 | |||
| 10/25 | Helped-by | Helped-by | |
| 11/25 | |||
| 12/25 | |||
| 13/25 | |||
| 14/25 | |||
| 15/25 | |||
| 16/25 | |||
| 17/25 | |||
| 18/25 | Helped-by | ||
| 19/25 | |||
| 20/25 | |||
| 21/25 | |||
| 22/25 | |||
| 23/25 | |||
| 24/25 | |||
| 25/25 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v2 00/25] list-files redesign
The UI part is the same (or nearly the same) with the last round. The internal data structure is reorignized to avoid abusing string_list. Tests and documentation are added back.
Nguyễn Thái Ngọc Duy (25):
ls_colors.c: add $LS_COLORS parsing code ls_colors.c: parse color.ls.* from config file ls_colors.c: add a function to color a file name ls_colors.c: highlight submodules like directories
list-files: command skeleton
list-files: show paths relative to cwd
list-files: add tag to each entry, filter duplicate tags
list-files: add --[no-]column, -C and -1
list-files: add --max-depth, -R and default to --max-depth=0
list-files: show directories as well as files
list-files: add --color
list-files: add -F/--classify
list-files: new indicator '&' for submodules when -F is used
list-files: add --cached and --others
list-files: add --ignored
list-files: add --unmerged
list-files: add file modification options -[admADM]
list-files: delete redundant cached entries
list-files: make alias 'ls' default to 'list-files'
list-files: preload index
list-files: reduce match_pathspec calls in matched()
list-files: only do diff that is actually useful
pathspec: move getenv() code out of prefix_pathspec()
list-files: make :(glob) pathspec default
list-files: documentation
.gitignore | 1 + Documentation/config.txt | 12 + Documentation/git-list-files.txt (new) | 115 +++++++ Makefile | 2 + builtin.h | 1 + builtin/list-files.c (new) | 581 +++++++++++++++++++++++++++++++++ color.h | 10 + config.c | 8 + git.c | 1 + ls_colors.c (new) | 498 ++++++++++++++++++++++++++++ pathspec.c | 59 ++-- pathspec.h | 1 + t/t7013-list-files.sh (new +x) | 335 +++++++++++++++++++ wt-status.c | 16 +- wt-status.h | 3 + 15 files changed, 1612 insertions(+), 31 deletions(-) create mode 100644 Documentation/git-list-files.txt create mode 100644 builtin/list-files.c create mode 100644 ls_colors.c create mode 100755 t/t7013-list-files.sh
Signature · 1 line
2.3.0.rc1.137.g477eb31