doc: revisions: single vs multi-parent notation comparison
Signed-off-by: Philip Oakley <philipoakley@iee.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Philip Oakley committed
Aug 13, 2016 at 00:45 UTC
39b4d85e5be4b8ab1352d4a24e8fceffb2b5e405
1 file changed
+4
Documentation/revisions.txt
+4
@@ -283,6 +283,10 @@ The 'r1{caret}@' notation means all parents of 'r1'.
283
The 'r1{caret}!' notation includes commit 'r1' but excludes all of its parents.
284
By itself, this notation denotes the single commit 'r1'.
285
286
+While '<rev>{caret}<n>' was about specifying a single commit parent, these
287
+two notations consider all its parents. For example you can say
288
+'HEAD{caret}2{caret}@', however you cannot say 'HEAD{caret}@{caret}2'.
289
+
290
Revision Range Summary
291
----------------------
292