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

Re: [RFC/PATCH 2/3] Documentation: gitrevisions

From
Stephen Boyd <bebarino@gmail.com>
Date
Jul 14, 2010, 16:49 UTC
Message-ID
<4C3DEAA8.3090509@gmail.com>
In-Reply-To
<4C3D785D.1050000@drmicha.warpmail.net>
  On 07/14/2010 01:42 AM, Michael J Gruber wrote:
Show 11 quoted lines
>
> I added this text on purpose. The "DESCRIPTION" section is meant to give
> a concise description of the overall picture so that, e.g., you
> understand which section will answer which question without having to
> read all of them. In this case it gives you a short overview of what can
> be referred to by revisions (commit, commit range, general object)
> before the sections go into the details of how to specify them.
>
> Also, as I mentioned in the cover letter, I suggest a rework of the
> actual (included, old) content if that structure is to stay. So, in a
> second step, one could avoid duplications.
Ok, I must have missed that in the cover letter. I hope in the next version we can rework the old content and integrate it into the two paragraphs in this patch. I don't see how keeping the DESCRIPTION section this verbose is helpful. At most it should say:
Many Git commands take revisions as parameters. A revision typically specifies a commit, but it can also specify a blob, a tree, or a set of commits. A set of commits is commonly referred to as a revision range. (or just range?)
And then I wonder if that should just go in the SYNOPSIS section and the DESCRIPTION should be deleted.
Previous: Michael J GruberNext: Michael J Gruber
Message 6 of 8 in “Documentation: Improve revision documentation”
  1. 0/3 Documentation: Improve revision documentationMichael J Gruber, Jul 5, 2010
  2. 1/3 Documentation: split off rev doc into include fileMichael J Gruber, Jul 5, 2010
  3. 2/3 Documentation: gitrevisionsMichael J Gruber, Jul 5, 2010
  4. Stephen BoydJul 14, 2010
  5. Michael J GruberJul 14, 2010
  6. Stephen BoydJul 14, 2010
  7. 3/3 Documentation: link to gitrevisions rather than git-rev-parseMichael J Gruber, Jul 5, 2010
  8. Ævar Arnfjörð BjarmasonJul 5, 2010

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.