Skip to content

Commit 3add01b

Browse files
committed
"log --cherry-pick" documentation regression fix
Earlier f98fd43 (git-log.txt,rev-list-options.txt: put option blocks in proper order, 2011-03-08) moved the text around in the documentation for options in the rev-list family of commands such as "log". Consequently, the description of the --cherry-pick option appears way above the description of the --left-right option now. But the description of the --cherry-pick option still refers to the example for the --left-right option, like this: ... with --left-right, like the example ABOVE in the description of that option. Rephrase it to clarify that we are making a forward reference. Signed-off-by: Junio C Hamano <[email protected]>
1 parent f98fd43 commit 3add01b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/rev-list-options.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ endif::git-rev-list[]
159159
+
160160
For example, if you have two branches, `A` and `B`, a usual way
161161
to list all commits on only one side of them is with
162-
`--left-right`, like the example above in the description of
163-
that option. It however shows the commits that were cherry-picked
162+
`--left-right` (see the example below in the description of
163+
the `--left-right` option). It however shows the commits that were cherry-picked
164164
from the other branch (for example, "3rd on b" may be cherry-picked
165165
from branch A). With this option, such pairs of commits are
166166
excluded from the output.

0 commit comments

Comments
 (0)