git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Johannes SchindelinNext: Linus Torvalds
Message 9 of 11 in “Finally implement "git log --follow"”
  1. Linus TorvaldsJun 19, 2007
  2. Linus TorvaldsJun 19, 2007
  3. Marco CostalbaJul 4, 2007
  4. Marco CostalbaJun 20, 2007
  5. Linus TorvaldsJun 20, 2007
  6. Marco CostalbaJun 21, 2007
  7. Linus TorvaldsJun 21, 2007
  8. Johannes SchindelinJun 21, 2007
  9. Linus TorvaldsJun 21, 2007
  10. Linus TorvaldsJun 21, 2007
  11. Junio C HamanoJun 21, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.