Skip to content

Commit 4fbe83f

Browse files
hanyang-tonygitster
authored andcommitted
show doc: redirect user to git log manual instead of git diff-tree
While git show accepts options that apply to the git diff-tree command, some options do not make sense in the context of git show. The options of git show are handled using the machinery of git log. The git log manual page is a better place to look into than git diff-tree for options that are not in the git show manual page. Signed-off-by: Han Young <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 73876f4 commit 4fbe83f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/git-show.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ with --name-only).
2626

2727
For plain blobs, it shows the plain contents.
2828

29-
The command takes options applicable to the 'git diff-tree' command to
29+
Some options that 'git log' command understands can be used to
3030
control how the changes the commit introduces are shown.
3131

3232
This manual page describes only the most frequently used options.

0 commit comments

Comments
 (0)