summaryrefslogtreecommitdiff
path: root/Documentation/git-hash-object.txt
diff options
context:
space:
mode:
authorAdam Roben <aroben@apple.com>2008-05-23 14:19:38 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-05-23 19:06:35 (GMT)
commitd8ee4832509dd2d7448a49920f5cba2fc979283d (patch)
tree64f56ec59cef4fc50476208c93aadc705c438c77 /Documentation/git-hash-object.txt
parent3ea5a1b33d99b6c4f5e745c0dd017307c58cff31 (diff)
downloadgit-d8ee4832509dd2d7448a49920f5cba2fc979283d.zip
git-d8ee4832509dd2d7448a49920f5cba2fc979283d.tar.gz
git-d8ee4832509dd2d7448a49920f5cba2fc979283d.tar.bz2
git-hash-object: Add --stdin-paths option
This allows multiple paths to be specified on stdin. Signed-off-by: Adam Roben <aroben@apple.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-hash-object.txt')
-rw-r--r--Documentation/git-hash-object.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/git-hash-object.txt b/Documentation/git-hash-object.txt
index 33030c0..99a2143 100644
--- a/Documentation/git-hash-object.txt
+++ b/Documentation/git-hash-object.txt
@@ -8,7 +8,7 @@ git-hash-object - Compute object ID and optionally creates a blob from a file
SYNOPSIS
--------
-'git-hash-object' [-t <type>] [-w] [--stdin] [--] <file>...
+'git-hash-object' [-t <type>] [-w] [--stdin | --stdin-paths] [--] <file>...
DESCRIPTION
-----------
@@ -32,6 +32,9 @@ OPTIONS
--stdin::
Read the object from standard input instead of from a file.
+--stdin-paths::
+ Read file names from stdin instead of from the command-line.
+
Author
------
Written by Junio C Hamano <junkio@cox.net>