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

Re: [PATCH] Documentation/revisions: Document shorthand

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
Jun 30, 2011, 07:30 UTC
Message-ID
<4E0C2627.9040709@drmicha.warpmail.net>
In-Reply-To
<1309298960-55011-1-git-send-email-j416@1616.se>
Johan Sageryd venit, vidit, dixit 29.06.2011 00:09:
Show 23 quoted lines
> Signed-off-by: Johan Sageryd <j416@1616.se>
> ---
>  Documentation/revisions.txt |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/Documentation/revisions.txt b/Documentation/revisions.txt
> index b290b61..180ef5a 100644
> --- a/Documentation/revisions.txt
> +++ b/Documentation/revisions.txt
> @@ -105,7 +105,7 @@ the '$GIT_DIR/refs' directory or from the '$GIT_DIR/packed-refs' file.
>    commit object, following only the first parents.  I.e. '<rev>{tilde}3' is
>    equivalent to '<rev>{caret}{caret}{caret}' which is equivalent to
>    '<rev>{caret}1{caret}1{caret}1'.  See below for an illustration of
> -  the usage of this form.
> +  the usage of this form. '<rev>{tilde}' is a shorthand for '<rev>{tilde}1'.
> 
>  '<rev>{caret}\{<type>\}', e.g. 'v0.99.8{caret}\{commit\}'::
>    A suffix '{caret}' followed by an object type name enclosed in
> --
> 1.7.6
> 
> 
> Sorry; please use this instead. Same patch with correct from-address.

If rev~ is meant to be documented usage (I thought rev^ to be preferred but may be wrong) then we should make the descriptions of rev~<n> and rev^<n> more uniform.

Michael
Previous: Johan SagerydNext: Johan Sageryd
Message 2 of 3 in “Documentation/revisions: Document shorthand”
  1. Documentation/revisions: Document shorthandJohan Sageryd, Jun 28, 2011
  2. Michael J GruberJun 30, 2011
  3. Johan SagerydJul 1, 2011

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.