Re: [PATCH v6 06/11] column: add column.ui for default column output settings
Nguyễn Thái Ngọc Duy <pclouds@gmail.com> writes:
Show 42 quoted lines
> Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
> ---
> Documentation/config.txt | 26 ++++++++++++++++++++++++++
> Documentation/git-column.txt | 6 +++++-
> builtin/column.c | 21 +++++++++++++++++++++
> column.c | 28 ++++++++++++++++++++++++++++
> column.h | 2 ++
> 5 files changed, 82 insertions(+), 1 deletions(-)
>
> diff --git a/Documentation/config.txt b/Documentation/config.txt
> index abeb82b..5216598 100644
> --- a/Documentation/config.txt
> +++ b/Documentation/config.txt
> @@ -821,6 +821,32 @@ color.ui::
> `never` if you prefer git commands not to use color unless enabled
> explicitly with some other configuration or the `--color` option.
>
> +column.ui::
> + Specify whether supported commands should output in columns.
> + This variable consists of a list of tokens separated by spaces
> + or commas:
> ++
> +--
> +`always`;;
> + always show in columns
> +`never`;;
> + never show in columns
> +`auto`;;
> + show in columns if the output is to the terminal
> +`column`;;
> + fill columns before rows (default)
> +`row`;;
> + fill rows before columns
> +`dense`;;
> + make unequal size columns to utilize more space
> +`nodense`;;
> + make equal size columns
> +`color`;;
> + input contains ANSI escape sequence for coloring
> +--
> ++
> + This option defaults to 'never'.
I tried comparing output from
$ git help -a
$ git -c column.ui=row help -abut did not spot differences. What am I doing wrong?