From: Philip Oakley Date: Fri, 12 Aug 2016 07:07:47 +0000 (+0100) Subject: doc: revisions - clarify reachability examples X-Git-Tag: v2.10.1~43^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1afe13b98a9865c012daffca5d0ac56aced318fb;p=git doc: revisions - clarify reachability examples For the r1..r2 case, the exclusion of r1, rather than inclusion of r2, would be the unexpected case in natural language for a simple linear development, i.e. start..end excludes start. Signed-off-by: Philip Oakley Signed-off-by: Junio C Hamano --- diff --git a/Documentation/revisions.txt b/Documentation/revisions.txt index f223a1cc40..e8120c0a0a 100644 --- a/Documentation/revisions.txt +++ b/Documentation/revisions.txt @@ -253,7 +253,8 @@ Commit Exclusions '{caret}' (caret) Notation:: To exclude commits reachable from a commit, a prefix '{caret}' notation is used. E.g. '{caret}r1 r2' means commits reachable - from 'r2' but exclude the ones reachable from 'r1'. + from 'r2' but exclude the ones reachable from 'r1' (i.e. 'r1' and + its ancestors). Dotted Range Notations ~~~~~~~~~~~~~~~~~~~~~~ @@ -297,12 +298,12 @@ Revision Range Summary ---------------------- '':: - Include commits that are reachable from (i.e. ancestors of) - . + Include commits that are reachable from (i.e. and its + ancestors). '{caret}':: - Exclude commits that are reachable from (i.e. ancestors of) - . + Exclude commits that are reachable from (i.e. and its + ancestors). '..':: Include commits that are reachable from but exclude