summaryrefslogtreecommitdiff
path: root/Documentation/revisions.txt
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2022-10-01 10:26:34 (GMT)
committerJunio C Hamano <gitster@pobox.com>2022-10-01 22:58:36 (GMT)
commit9f91da752fa28e405e91dfd6bd7372f897bbae8d (patch)
tree486b2d8aa96d0166885a2fbfc0e96838ce261578 /Documentation/revisions.txt
parent793c21182e34f109b4f438944b4272fb50862ad5 (diff)
downloadgit-9f91da752fa28e405e91dfd6bd7372f897bbae8d.zip
git-9f91da752fa28e405e91dfd6bd7372f897bbae8d.tar.gz
git-9f91da752fa28e405e91dfd6bd7372f897bbae8d.tar.bz2
revisions.txt: unspecify order of resolved parts of ^!
gitrevisions(7) says that <rev>^! resolves to <rev> and then all the parents of <rev>. revision.c::handle_revision_arg_1() actually adds all parents first, then <rev>. Change the documentation to leave the order unspecified, to avoid misleading readers. Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/revisions.txt')
-rw-r--r--Documentation/revisions.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/revisions.txt b/Documentation/revisions.txt
index e3e3501..0d2e55d 100644
--- a/Documentation/revisions.txt
+++ b/Documentation/revisions.txt
@@ -363,7 +363,7 @@ Revision Range Summary
'<rev>{caret}!', e.g. 'HEAD{caret}!'::
A suffix '{caret}' followed by an exclamation mark is the same
- as giving commit '<rev>' and then all its parents prefixed with
+ as giving commit '<rev>' and all its parents prefixed with
'{caret}' to exclude them (and their ancestors).
'<rev>{caret}-<n>', e.g. 'HEAD{caret}-, HEAD{caret}-2'::