Skip to content

Commit 5feb8b8

Browse files
committed
Merge branch 'vn/revision-shorthand-for-side-branch-log'
Doc cleanup. * vn/revision-shorthand-for-side-branch-log: doc/revisions: remove brackets from rev^-n shorthand
2 parents c96e3ce + 733e064 commit 5feb8b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/revisions.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ The 'r1{caret}@' notation means all parents of 'r1'.
295295
The 'r1{caret}!' notation includes commit 'r1' but excludes all of its parents.
296296
By itself, this notation denotes the single commit 'r1'.
297297

298-
The '<rev>{caret}-{<n>}' notation includes '<rev>' but excludes the <n>th
298+
The '<rev>{caret}-<n>' notation includes '<rev>' but excludes the <n>th
299299
parent (i.e. a shorthand for '<rev>{caret}<n>..<rev>'), with '<n>' = 1 if
300300
not given. This is typically useful for merge commits where you
301301
can just pass '<commit>{caret}-' to get all the commits in the branch
@@ -337,7 +337,7 @@ Revision Range Summary
337337
as giving commit '<rev>' and then all its parents prefixed with
338338
'{caret}' to exclude them (and their ancestors).
339339

340-
'<rev>{caret}-{<n>}', e.g. 'HEAD{caret}-, HEAD{caret}-2'::
340+
'<rev>{caret}-<n>', e.g. 'HEAD{caret}-, HEAD{caret}-2'::
341341
Equivalent to '<rev>{caret}<n>..<rev>', with '<n>' = 1 if not
342342
given.
343343

0 commit comments

Comments
 (0)