summaryrefslogtreecommitdiff
path: root/Documentation/git-hash-object.txt
diff options
context:
space:
mode:
authorLibravatar Adam Roben <aroben@apple.com>2008-05-23 16:19:38 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-05-23 12:06:35 -0700
commitd8ee4832509dd2d7448a49920f5cba2fc979283d (patch)
tree64f56ec59cef4fc50476208c93aadc705c438c77 /Documentation/git-hash-object.txt
parentAdd more tests for git hash-object (diff)
downloadtgif-d8ee4832509dd2d7448a49920f5cba2fc979283d.tar.xz
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 33030c022f..99a21434b5 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>