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

Re: Questions about git-rev-parse

From
WBWillhelm Busch <willhelm.busch@gmail.com>
Date
Mar 1, 2007, 02:16 UTC
Message-ID
<a51a02b80702281816j1ff9d42i5fc680752c515082@mail.gmail.com>
In-Reply-To
<Pine.LNX.4.64.0702271905200.12485@woody.linux-foundation.org>
On Tue, Feb 27, 2007 at 07:19:54PM -0800, Linus Torvalds wrote:
Show 17 quoted lines
> On Tue, 27 Feb 2007, Theodore Ts'o wrote:
> >
> > So I was looking at git-rev-parse trying to understand the man page, as
> > I was trying to understand how various commands can accept lists (or
> > ranges) of commits, and the man page raised a number of questions.
> > First of all, the DESCRIPTION section doesn't quite parse as English:
> >
> >        Many  git  porcelainish commands take mixture of flags (i.e. parameters
> >        that  begin  with  a  dash  -)  and  parameters  meant  for  underlying
> >        git-rev-list  command  they use internally and flags and parameters for
> >        other commands they use as the downstream of git-rev-list.
> >
> > But, as best as I can gather that it's a helper function meant to do
> > some basic options parsing for those git porcelain commands that expect
> > to take a set of revision ID's.
>
> Heh. This is totally due to hysterical raisins.
When it comes to dancing time
 At the branch of the grapevine
Out pop many lively souls,
 From their seed pods, shells, and holes.
'Twas one balmy summer's night
 When some documents to write
Linus rested on the ground
 Near the dancers' cheery round.
Heedless of their drunken rages,
 He cranked out a few man pages,
As he started git-rev-parse,
 Came a merry nighttime farce.
When by wine they are made merry
 Certain fruits wax literary,
Writing nonsense as they please --
 Raisins are the worst of these.
They seized Linus as their chance.
 "Let us leave this odious dance!"
With a hysterical hop,
 Down they jumped, to his laptop!
As they made a small edit,
 Typed the raisins: "git commit"!
"Could my shell prompt be possessed?"
 Linus wondered, much distressed.
Linus scratched his Nordic pate.
 "I should not be up this late!
Coffee's addling my sight!
 Better finish for tonight."
In the main I'm laudatory
 Of the git repository.
It has weirdness and to spare,
 But the raisins put it there.
Previous: Linus Torvalds
Message 9 of 9 in “Questions about git-rev-parse”
  1. Theodore Ts'oFeb 28, 2007
  2. Junio C HamanoFeb 28, 2007
  3. Theodore TsoFeb 28, 2007
  4. Linus TorvaldsFeb 28, 2007
  5. Theodore TsoFeb 28, 2007
  6. Andy ParkinsFeb 28, 2007
  7. Linus TorvaldsFeb 28, 2007
  8. Linus TorvaldsFeb 28, 2007
  9. Willhelm BuschMar 1, 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.