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

Re: [PATCH] cg-cat [was: Re: Newbie question: equiv of: cvs co -p <filename> ? ]

From
Petr Baudis <pasky@suse.cz>
Date
Aug 11, 2005, 23:03 UTC
Message-ID
<20050811230343.GJ25280@pasky.ji.cz>
In-Reply-To
<42FA1150.7090506@research.att.com>

Dear diary, on Wed, Aug 10, 2005 at 04:38:08PM CEST, I got a letter where John Ellson <ellson@research.att.com> told me that...

Show 23 quoted lines
> Linus Torvalds wrote:
> >
> >On Tue, 9 Aug 2005, John Ellson wrote:
> >
> >>I hacked this:
> 
> >No. ...
> 
> >So you could do something like ...
> 
> >(totally untested)
> >
> >		Linus
> 
> 
> Thanks Linus, also Rene and Johannes.
> 
> I applied a bit of polish and testing and now I'm ready to offer
> my first contribution to cogito.
> 
> 	cg-cat [-r rev] FILE
> 
> I hope that this is useful to others.

Thanks, cleaned up and applied. I only renamed it to cg-admin-cat since I think it's indeed a bit obscure. Also, note the remarkable similarity:

        cg-admin-cat       [-r TREE_ID] FILE...
        cg-admin-ls        [-t TREE_ID] [PATH]

What about joining those to cg-admin-dig or something? (Catting a directory or ls'ing file contents just feels wrong, although the first one would make some sense to people not acquainted with UNIX.)

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
If you want the holes in your knowledge showing up try teaching
someone.  -- Alan Cox
Previous: John EllsonNext: Matthias Urlichs
Message 6 of 7 in “Newbie question: equiv of: cvs co -p <filename> ?”
  1. John EllsonAug 9, 2005
  2. Johannes SchindelinAug 9, 2005
  3. Rene ScharfeAug 9, 2005
  4. Linus TorvaldsAug 10, 2005
  5. cg-cat [was: Re: Newbie question: equiv of: cvs co -p <filename> ? ]John Ellson, Aug 10, 2005
  6. Petr BaudisAug 11, 2005
  7. Matthias UrlichsAug 12, 2005

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.