diff options
author | Han Young <hanyang.tony@bytedance.com> | 2023-09-20 13:27:31 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-09-20 15:52:59 (GMT) |
commit | 4fbe83fcd96cb49d2cdec3bc1660fe280d02c9a4 (patch) | |
tree | 79df638da1c1a1b1b2e2b4fc850e8fbf141de7ae | |
parent | 73876f4861cd3d187a4682290ab75c9dccadbc56 (diff) | |
download | git-4fbe83fcd96cb49d2cdec3bc1660fe280d02c9a4.zip git-4fbe83fcd96cb49d2cdec3bc1660fe280d02c9a4.tar.gz git-4fbe83fcd96cb49d2cdec3bc1660fe280d02c9a4.tar.bz2 |
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 <hanyang.tony@bytedance.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r-- | Documentation/git-show.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git-show.txt b/Documentation/git-show.txt index 2b1bc72..03c0634 100644 --- a/Documentation/git-show.txt +++ b/Documentation/git-show.txt @@ -26,7 +26,7 @@ with --name-only). For plain blobs, it shows the plain contents. -The command takes options applicable to the 'git diff-tree' command to +Some options that 'git log' command understands can be used to control how the changes the commit introduces are shown. This manual page describes only the most frequently used options. |