diff options
author | Philip Oakley <philipoakley@iee.org> | 2016-08-13 02:45:20 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-08-14 05:36:44 +0300 |
commit | 39b4d85e5be4b8ab1352d4a24e8fceffb2b5e405 (patch) | |
tree | 60ef86526288b3fef0c105df8f46e8cf347738e9 /Documentation/revisions.txt | |
parent | 59841a3900a5670084f30b8ab2bb49042938fee6 (diff) |
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>
Diffstat (limited to 'Documentation/revisions.txt')
-rw-r--r-- | Documentation/revisions.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/revisions.txt b/Documentation/revisions.txt index 64bc83eaa5..f3a53a662b 100644 --- a/Documentation/revisions.txt +++ b/Documentation/revisions.txt @@ -283,6 +283,10 @@ The 'r1{caret}@' notation means all parents of 'r1'. The 'r1{caret}!' notation includes commit 'r1' but excludes all of its parents. By itself, this notation denotes the single commit 'r1'. +While '<rev>{caret}<n>' was about specifying a single commit parent, these +two notations consider all its parents. For example you can say +'HEAD{caret}2{caret}@', however you cannot say 'HEAD{caret}@{caret}2'. + Revision Range Summary ---------------------- |