Expand description
Git-compatible column layout for long-format status (untracked / ignored lists).
Mirrors the behaviour of upstream column.c / print_columns used by wt-status.c.
Structs§
- ColOpts
- Bit flags matching Git’s
column.h. - Column
Options - Options passed to
print_columns, matchingstruct column_options.
Enums§
- Column
Layout - Layout mode (lower 4 bits of
ColOpts).
Functions§
- apply_
column_ cli_ arg - Mark options as originating from the command line (
COL_PARSEOPT+COL_ENABLED), then parsearg. - finalize_
colopts - Apply
finalize_coloptssemantics: resolveautousing the supplied TTY state. - merge_
column_ config - Read
column.statusandcolumn.uifrom config (Gitgit_column_configorder). - parse_
column_ tokens_ into - Parse space- or comma-separated column tokens (Git
parse_config/parse_option). - print_
columns - Print
listusing Git column layout; when inactive, prints oneindent+ item +nlper row.