From: Junio C Hamano Date: Sun, 21 Apr 2013 18:54:33 GMT Subject: Re: [PATCH 5/7] git-log.txt: generalize .. Message-ID: <7va9oru32u.fsf@alter.siamese.dyndns.org> In-Reply-To: <1366534252-12099-6-git-send-email-artagnon@gmail.com> Ramkumar Ramachandra writes: > '..' is misleading, as there are many other forms that > 'git log' can accept as an argument. Replace it with , > referring to the section "Specifying Ranges" in revisions.txt, and > rewrite the section appropriately. > > Signed-off-by: Ramkumar Ramachandra > --- > Documentation/git-log.txt | 16 +++++++++------- > 1 file changed, 9 insertions(+), 7 deletions(-) > > diff --git a/Documentation/git-log.txt b/Documentation/git-log.txt > index 64cc337..c238475 100644 > --- a/Documentation/git-log.txt > +++ b/Documentation/git-log.txt > @@ -9,7 +9,7 @@ git-log - Show commit logs > SYNOPSIS > -------- > [verse] > -'git log' [] [..] [[\--] ...] > +'git log' [] [] [[\--] ...] > > DESCRIPTION > ----------- > @@ -62,12 +62,14 @@ produced by --stat etc. > Note that only message is considered, if also a diff is shown > its size is not included. > > -..:: > - Show only commits between the named two commits. When > - either or is omitted, it defaults to > - `HEAD`, i.e. the tip of the current branch. > - For a more complete list of ways to spell > - and , see linkgit:gitrevisions[7]. > +:: > + Show only commits in the specified revision range. When no > + is specified, it defaults to 'HEAD' (ie. the s/ie/i.e./; or s/ie/meaning /; > + whole history leading to the current commit). master..HEAD > + specifies all the commits reachable from 'HEAD', but not from > + 'master'. For a complete list of ways to spell > + , see the "Specifying Ranges" section of > + linkgit:gitrevisions[7]. If you want to have a single example (other than 'HEAD' which has to be there anyway to describe the default), I think it would be more helpful to use one that would be common for not-so-advanced users, e.g. "origin..HEAD", without many other prerequisites (e.g. "@{u}.." may be common among more advanced users but is not appropriate here, because the reader may not have learned @{upstream} or omission of a side of a range defaulting to HEAD). ... `origin..HEAD` specifies all the commits reachable from the current commit (i.e. `HEAD`) but not from `origin`. I could squash these in locally without a reroll, but I haven't read the remainder of the series yet, so we'll see. > [\--] ...:: > Show only commits that are enough to explain how the files