summaryrefslogtreecommitdiff
path: root/builtin/hash-object.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2015-10-26 15:55:17 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-10-26 15:55:17 -0700
commit97a9e546a27c98512fef39cd457a4da6dbb5063a (patch)
tree55207e0a032260173dda66b3ef154d452a979c49 /builtin/hash-object.c
parentMerge branch 'mr/worktree-list' (diff)
parentusage: do not insist that standard input must come from a file (diff)
downloadtgif-97a9e546a27c98512fef39cd457a4da6dbb5063a.tar.xz
Merge branch 'jc/usage-stdin'
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 'builtin/hash-object.c')
-rw-r--r--builtin/hash-object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/hash-object.c b/builtin/hash-object.c
index 07fef3cc6b..43b098b76c 100644
--- a/builtin/hash-object.c
+++ b/builtin/hash-object.c
@@ -78,7 +78,7 @@ int cmd_hash_object(int argc, const char **argv, const char *prefix)
{
static const char * const hash_object_usage[] = {
N_("git hash-object [-t <type>] [-w] [--path=<file> | --no-filters] [--stdin] [--] <file>..."),
- N_("git hash-object --stdin-paths < <list-of-paths>"),
+ N_("git hash-object --stdin-paths"),
NULL
};
const char *type = blob_type;