revisions.txt: clarify the .. and ... syntax
In <rev1>..<rev2> and <rev1>...<rev2>, if either <rev1> or <rev2> is omitted, it defaults to 'HEAD'. Add this detail to the document. Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Ramkumar Ramachandra committed
Apr 22, 2013 at 11:00 UTC
3a4dc48623793aad5770f0360eca8eb83f943657
1 file changed
+4
-2
Documentation/revisions.txt
+4
-2
@@ -239,11 +239,13 @@ To summarize:
239
240
'<rev1>..<rev2>'::
241
Include commits that are reachable from <rev2> but exclude
242
- those that are reachable from <rev1>.
242
+ those that are reachable from <rev1>. When either <rev1> or
243
+ <rev2> is omitted, it defaults to 'HEAD'.
244
245
'<rev1>\...<rev2>'::
246
Include commits that are reachable from either <rev1> or
246
- <rev2> but exclude those that are reachable from both.
247
+ <rev2> but exclude those that are reachable from both. When
248
+ either <rev1> or <rev2> is omitted, it defaults to 'HEAD'.
249
250
'<rev>{caret}@', e.g. 'HEAD{caret}@'::
251
A suffix '{caret}' followed by an at sign is the same as listing