summaryrefslogtreecommitdiff
path: root/Documentation/git-show-index.txt
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2015-11-03 15:32:38 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-11-03 15:32:38 -0800
commitf5f76845961f4207b3dc8c186b2356f160276e45 (patch)
treef88d6c141e2c6040b69e015e8c9d9a37bdd80111 /Documentation/git-show-index.txt
parentMerge branch 'rt/placeholder-in-usage' into maint (diff)
parentusage: do not insist that standard input must come from a file (diff)
downloadtgif-f5f76845961f4207b3dc8c186b2356f160276e45.tar.xz
Merge branch 'jc/usage-stdin' into maint
The synopsis text and the usage string of subcommands that read list of things from the standard input are often shown as if they only take input from a file on a filesystem, which was misleading. * jc/usage-stdin: usage: do not insist that standard input must come from a file
Diffstat (limited to 'Documentation/git-show-index.txt')
-rw-r--r--Documentation/git-show-index.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/Documentation/git-show-index.txt b/Documentation/git-show-index.txt
index fbdc8adae5..a8a9509e0e 100644
--- a/Documentation/git-show-index.txt
+++ b/Documentation/git-show-index.txt
@@ -9,13 +9,14 @@ git-show-index - Show packed archive index
SYNOPSIS
--------
[verse]
-'git show-index' < idx-file
+'git show-index'
DESCRIPTION
-----------
-Reads given idx file for packed Git archive created with
-'git pack-objects' command, and dumps its contents.
+Read the idx file for a Git packfile created with
+'git pack-objects' command from the standard input, and
+dump its contents.
The information it outputs is subset of what you can get from
'git verify-pack -v'; this command only shows the packfile