diff options
author | Junio C Hamano <junio@hera.kernel.org> | 2008-08-20 09:14:14 +0000 |
---|---|---|
committer | Junio C Hamano <junio@hera.kernel.org> | 2008-08-20 09:14:14 +0000 |
commit | 5cf43cab94d19dce9d3c883f374e254c7b2572e1 (patch) | |
tree | 25eec20f3b813fbff31d880a8b930447541ecaae /git-hash-object.html | |
parent | 7c2d9ea271ffc94f8b7e907b3ec88c2fdfb462f2 (diff) | |
download | git-htmldocs-5cf43cab94d19dce9d3c883f374e254c7b2572e1.tar.gz |
Autogenerated HTML docs for v1.6.0-36-g3814c
Diffstat (limited to 'git-hash-object.html')
-rw-r--r-- | git-hash-object.html | 32 |
1 files changed, 30 insertions, 2 deletions
diff --git a/git-hash-object.html b/git-hash-object.html index 0f760f0d2..8b2c32a4b 100644 --- a/git-hash-object.html +++ b/git-hash-object.html @@ -320,7 +320,9 @@ git-hash-object(1) Manual Page </div>
<h2>SYNOPSIS</h2>
<div class="sectionbody">
-<div class="para"><p><em>git hash-object</em> [-t <type>] [-w] [--stdin | --stdin-paths] [--] <file>…</p></div>
+<div class="verseblock">
+<div class="content"><em>git hash-object</em> [-t <type>] [-w] [--path=<file>|--no-filters] [--stdin] [--] <file>…
+<em>git hash-object</em> [-t <type>] [-w] --stdin-paths < <list-of-paths></div></div>
</div>
<h2 id="_description">DESCRIPTION</h2>
<div class="sectionbody">
@@ -367,6 +369,32 @@ specified, it defaults to "blob".</p></div> Read file names from stdin instead of from the command-line.
</p>
</dd>
+<dt>
+--path
+</dt>
+<dd>
+<p>
+ Hash object as it were located at the given path. The location of
+ file does not directly influence on the hash value, but path is
+ used to determine what git filters should be applied to the object
+ before it can be placed to the object database, and, as result of
+ applying filters, the actual blob put into the object database may
+ differ from the given file. This option is mainly useful for hashing
+ temporary files located outside of the working directory or files
+ read from stdin.
+</p>
+</dd>
+<dt>
+--no-filters
+</dt>
+<dd>
+<p>
+ Hash the contents as is, ignoring any input filter that would
+ have been chosen by the attributes mechanism, including crlf
+ conversion. If the file is read from standard input then this
+ is always implied, unless the --path option is given.
+</p>
+</dd>
</dl></div>
</div>
<h2 id="_author">Author</h2>
@@ -383,7 +411,7 @@ specified, it defaults to "blob".</p></div> </div>
<div id="footer">
<div id="footer-text">
-Last updated 2008-07-22 09:19:10 UTC
+Last updated 2008-08-20 09:13:32 UTC
</div>
</div>
</body>
|