Re: Bug: pager.<cmd> doesn't work well with editors
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 19, 2016, 16:03 UTC
- Message-ID
- <xmqqh99bho7a.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <nrmd6u$imf$1@blaine.gmane.org>
Anatoly Borodin <anatoly.borodin@gmail.com> writes:
>> I think, the pagination should be turned off when the editor is being >> called.
This is a fun one. IIRC, we decide to spawn a pager and run our output via pipe thru it fairly early, even before we figure out which subcommand is being run (especially if you do "git -p subcommand"), which by definition is way before we know if that subcommand wants to let the user edit things with the editor.