All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Documentation/revisions: Document shorthand
@ 2011-06-28 22:09 Johan Sageryd
  2011-06-30  7:30 ` Michael J Gruber
  0 siblings, 1 reply; 4+ messages in thread
From: Johan Sageryd @ 2011-06-28 22:09 UTC (permalink / raw)
  To: git; +Cc: Johan Sageryd

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.

Thank you,
Johan

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] Documentation/revisions: Document shorthand
  2011-06-28 22:09 [PATCH] Documentation/revisions: Document shorthand Johan Sageryd
@ 2011-06-30  7:30 ` Michael J Gruber
  2011-07-01 23:01   ` Johan Sageryd
  0 siblings, 1 reply; 4+ messages in thread
From: Michael J Gruber @ 2011-06-30  7:30 UTC (permalink / raw)
  To: Johan Sageryd; +Cc: git

Johan Sageryd venit, vidit, dixit 29.06.2011 00:09:
> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Documentation/revisions: Document shorthand
  2011-06-30  7:30 ` Michael J Gruber
@ 2011-07-01 23:01   ` Johan Sageryd
  0 siblings, 0 replies; 4+ messages in thread
From: Johan Sageryd @ 2011-07-01 23:01 UTC (permalink / raw)
  To: Michael J Gruber; +Cc: git

On 2011-06-30 09.30, Michael J Gruber wrote:
> 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.


Hello Michael,

Yes, I thought about this too, there is indeed room for improvement.
However in that case we should also think about uniforming the
descriptions of for instance "<refname>@{<n>}", "@{<n>}", "@{-<n>}" in a
similar way.

The current descriptions are in themselves quite clear and I didn't feel
the need to spend much time rewriting it all. But I do believe that we
should strive to document all possible syntax, preferred or not, and
that is the reason for me suggesting this patch. The more complete the
better, optimising can be done at any time.

Johan

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] Documentation/revisions: Document shorthand
@ 2011-06-28 21:45 Johan Sageryd
  0 siblings, 0 replies; 4+ messages in thread
From: Johan Sageryd @ 2011-06-28 21:45 UTC (permalink / raw)
  To: git; +Cc: Johan Sageryd

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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-07-01 23:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-28 22:09 [PATCH] Documentation/revisions: Document shorthand Johan Sageryd
2011-06-30  7:30 ` Michael J Gruber
2011-07-01 23:01   ` Johan Sageryd
  -- strict thread matches above, loose matches on Subject: below --
2011-06-28 21:45 Johan Sageryd

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.