From: Eric Sunshine Date: Mon, 09 Oct 2017 23:27:19 GMT Subject: Re: [RFC] column: show auto columns when pager is active Message-ID: In-Reply-To: <20171009214543.12986-1-me@ikke.info> On Mon, Oct 9, 2017 at 5:45 PM, Kevin Daudt wrote: > When columns are set to automatic for git tag and the output is > paginated by git, the output is a single column instead of multiple > columns. > > Standard behaviour in git is to honor auto values when the pager is > active, which happens for example with commands like git log showing > colors when being paged. > > Since ff1e72483 (tag: change default of `pager.tag` to "on", > 2017-08-02), the pager has been enabled by default, exposing this > problem to more people. > > finalize_colopts in column.c only checks whether the output is a TTY to > determine if columns should be enabled with columns set to autol. Also check Presumably: s/autol/auto/ > if the pager is active. > > Helped-by: Rafael Ascensão > Signed-off-by: Kevin Daudt