Re: BUG. Git config pager when --edit
- From
Frans Klaver <fransklaver@gmail.com>
- Date
- Nov 7, 2011, 13:43 UTC
- Message-ID
- <CAH6sp9Ox+6p4RkjCZ0j3tXG9F4u7SPuwbSrOWmLSXic9DxSKiQ@mail.gmail.com>
- In-Reply-To
- <20111107172652.0faade61@ashu.dyn.rarus.ru>
Hi,
On Mon, Nov 7, 2011 at 2:26 PM, Alexey Shumkin <Alex.Crezoff@gmail.com> wrote:
Show 9 quoted lines
> As far as my config is large enough to be paged I set pager.config=less > setting. But since that moment when I run > $ git config --edit > I get > Vim: Warning: Output is not to a terminal > And some messed config output > > The same happens if to run > $ vim .git/config | less
So git is trying to tell vim to pipe its output to less. vim can't do that because it needs a terminal, as it's the only way vim is usable.
Should pager.config then only be used with --list?