Re: [PATCH v6 06/11] column: add column.ui for default column output settings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Nguyễn Thái Ngọc Duy  <pclouds@xxxxxxxxx> writes:

> Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@xxxxxxxxx>
> ---
>  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 -a

but did not spot differences.  What am I doing wrong?
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]