column output v3
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | Move term_columns() to pager.c and save terminal width before pagerMakefile column.h help.c +1 more | +41 | 0 replies | |
| 2/9 | Add display_columns() to display in columnar layoutMakefile column.c column.h | +44 | 0 replies | |
| 3/9 | column: add functions to parse column settings.gitignore Makefile column.c +4 more | +199 | 0 replies | |
| 4/9 | display_columns: add COL_MODE_{COLUMN,ROW} modecolumn.c column.h t/ | +215 | 0 replies | |
| 5/9 | display_columns: add COL_DENSE to do unequal column layoutcolumn.c column.h t/ | +103 | 0 replies | |
| 6/9 | column: add column.ui for default column output settingsDocumentation/ column.c column.h | +38 | 0 replies | |
| 7/9 | help: reuse display_columns() for help -ahelp.c | +8 | 0 replies | |
| 7/9 | help: reuse display_columns() for help -ahelp.c | +11 | 0 replies | |
| 8/9 | tag: add --columnDocumentation/ Makefile builtin/ | +28 | 0 replies | |
| 9/9 | branch: add --columnDocumentation/ Makefile builtin/ | +29 | 1 reply | |
| 9/9 | branch: add --columnDocumentation/ Makefile builtin/ | +28 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/9] column output v3
Compared to v2 [1]. It's quite ready for consumption:
- dense mode works better (and consumes more cpu cycles, but not much)
- there should be no impact when it's not activated (i.e. no output buffering)
- column.ui is used for default settings. Not sure if I should go for column.branch and column.tag
- --[no-]column can be used to override column.ui
[1] http://mid.gmane.org/[email protected]
Nguyễn Thái Ngọc Duy (9):
Move term_columns() to pager.c and save terminal width before pager Add display_columns() to display in columnar layout
column: add functions to parse column settings
display_columns: add COL_MODE_{COLUMN,ROW} mode
display_columns: add COL_DENSE to do unequal column layout
column: add column.ui for default column output settings
help: reuse display_columns() for help -a
tag: add --column
branch: add --column
.gitignore | 1 + Documentation/config.txt | 24 +++ Documentation/git-branch.txt | 9 + Documentation/git-tag.txt | 11 +- Makefile | 3 + builtin/branch.c | 23 ++- builtin/tag.c | 21 ++- column.c | 378 ++++++++++++++++++++++++++++++++++++++++++ column.h | 22 +++ help.c | 53 +----- pager.c | 33 ++++ parse-options.h | 2 + t/t9002-column.sh | 135 +++++++++++++++ test-column.c | 39 +++++ 14 files changed, 701 insertions(+), 53 deletions(-) create mode 100644 column.c create mode 100644 column.h create mode 100755 t/t9002-column.sh create mode 100644 test-column.c
Signature · 1 line
1.7.4.74.g639db