Re: Finally implement "git log --follow"
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Jun 21, 2007, 16:09 UTC
- Message-ID
- <alpine.LFD.0.98.0706210907190.3593@woody.linux-foundation.org>
- In-Reply-To
- <Pine.LNX.4.64.0706211654100.4059@racer.site>
On Thu, 21 Jun 2007, Johannes Schindelin wrote:
> > The only quirk here is that "--stdin" makes no sense with a pager. > Therefore, you'd have to move the automatic pager invocation to _after_ > option parsing.
I don't know.. The pager invocation already checks whether the output is a tty. Quite frankly, I think that is sufficient for all cases we're discussing right now (ie anybody who uses "--stdin" would *also* redirect the output!), and we could certainly make it check that both the input *and* the output is a tty.
Linus