Thread (6 messages) 6 messages, 4 authors, 2016-06-15

Re: [PATCH] Revert "Stop starting pager recursively"

flat view

From: Matthieu Moy <hidden>
Date: 2016-06-15 23:00:50

Jörn Engel [off-list ref] writes:
On Mon, 21 April 2014 16:46:22 -0400, Jörn Engel wrote:
quoted
This reverts commit 88e8f908f2b0c56f9ccf8134d8ff9f689af9cc84.

Caused a usability regression for me and foul language for my coworkers.
Ping.
How do you solve the problem that the commit you revert was solving? The
commit you propose to revert says in its message:

    git-column can be used as a pager for other git commands, something
    like this:
    
        GIT_PAGER="git -p column --mode='dense color'" git -p branch
    
    The problem with this is that "git -p column" also has $GIT_PAGER set so
    the pager runs itself again as another pager. The end result is an
    infinite loop of forking.

There's probably a solution, but you can't ignore the problem (or
someone else will later try to solve the infinite loop and revert your
commit, and so on ...).

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help