Re: [PATCH v4 4/8] doc: give headings for the two and three dot notations
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 22, 2016, 22:46 UTC
- Message-ID
- <xmqqoa5p8f56.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <20160720211007.5520-5-philipoakley@iee.org>
Philip Oakley <philipoakley@iee.org> writes:
> +Special '<rev>{caret}' Shorthand Notations
> +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> +Two other shorthands exist, particularly useful for merge commits, is
> +for naming a set that is formed by a commit and its parent commits.As these are not all that "special", how about retitling this section as:
Other Shorthand Notations
~~~~~~~~~~~~~~~~~~~~~~~~~Show 10 quoted lines
> -To summarize:
> +The 'r1{caret}@' notation means all parents of 'r1'.
> +
> +'r1{caret}!' includes commit 'r1' but excludes all of its parents.
> +
> +Revision Range Summary
> +----------------------
>
> '<rev>'::
> Include commits that are reachable from (i.e. ancestors of)