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

Re: [PATCH/RFC] "git --less cmd" to page anywhere

From
Petr Baudis <pasky@suse.cz>
Date
Jun 7, 2006, 00:08 UTC
Message-ID
<20060607000816.GY10488@pasky.or.cz>
In-Reply-To
<Pine.LNX.4.64.0606061703380.5498@g5.osdl.org>

Dear diary, on Wed, Jun 07, 2006 at 02:05:59AM CEST, I got a letter where Linus Torvalds <torvalds@osdl.org> said that...

Show 12 quoted lines
> On Tue, 6 Jun 2006, Junio C Hamano wrote:
> >
> > This allows you to say:
> > 
> > 	git --less diff v2.6.16-rc5..
> 
> I've seriously considered something like that, although you chose a pretty 
> strange - and long - flag.
> 
> I was thinking something like "git -p log -p" (the first "-p" is for 
> "paginate" - think "dir/p" in old DOS times, but we could claim it is for 
> "pager" so that people don't laugh at us)

Actually, you made a case in the misty past that cg-log should just stuff things through a pager by default and I ended up finding that extremely convenient - what is the reason git log does not do the same?

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
A person is just about as big as the things that make them angry.
Previous: Linus TorvaldsNext: Linus Torvalds
Message 9 of 12 in “Support for configurable git command aliases (v2)”
  1. Support for configurable git command aliases (v2)Petr Baudis, Jun 4, 2006
  2. Petr BaudisJun 4, 2006
  3. Martin MaresJun 4, 2006
  4. Petr BaudisJun 4, 2006
  5. Junio C HamanoJun 4, 2006
  6. Linus TorvaldsJun 4, 2006
  7. "git --less cmd" to page anywhereJunio C Hamano, Jun 6, 2006
  8. Linus TorvaldsJun 7, 2006
  9. Petr BaudisJun 7, 2006
  10. Linus TorvaldsJun 7, 2006
  11. Martin LanghoffJun 7, 2006
  12. Linus TorvaldsJun 7, 2006

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.