diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-05-11 15:41:02 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-05-11 15:41:02 -0700 |
commit | 4cc4a84ff7c2cf78099e14d821eb027d5ba66d89 (patch) | |
tree | 8549c559df49ef0328eea3aa0d8b6b9b1a0a50a6 /git-hash-object.html | |
parent | dd5004ad952f72405f1265393b3f95dbe212992a (diff) | |
download | git-htmldocs-4cc4a84ff7c2cf78099e14d821eb027d5ba66d89.tar.gz |
Autogenerated HTML docs for v2.4.0-194-gc5180
Diffstat (limited to 'git-hash-object.html')
-rw-r--r-- | git-hash-object.html | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/git-hash-object.html b/git-hash-object.html index bcd944eca..bd3898ae8 100644 --- a/git-hash-object.html +++ b/git-hash-object.html @@ -748,7 +748,7 @@ git-hash-object(1) Manual Page <h2 id="_synopsis">SYNOPSIS</h2>
<div class="sectionbody">
<div class="verseblock">
-<pre class="content"><em>git hash-object</em> [-t <type>] [-w] [--path=<file>|--no-filters] [--stdin] [--] <file>…
+<pre class="content"><em>git hash-object</em> [-t <type>] [-w] [--path=<file>|--no-filters] [--stdin [--literally]] [--] <file>…
<em>git hash-object</em> [-t <type>] [-w] --stdin-paths [--no-filters] < <list-of-paths></pre>
<div class="attribution">
</div></div>
@@ -825,7 +825,18 @@ specified, it defaults to "blob".</p></div> Hash the contents as is, ignoring any input filter that would
have been chosen by the attributes mechanism, including the end-of-line
conversion. If the file is read from standard input then this
- is always implied, unless the --path option is given.
+ is always implied, unless the <code>--path</code> option is given.
+</p>
+</dd>
+<dt class="hdlist1">
+--literally
+</dt>
+<dd>
+<p>
+ Allow <code>--stdin</code> to hash any garbage into a loose object which might not
+ otherwise pass standard object parsing or git-fsck checks. Useful for
+ stress-testing Git itself or reproducing characteristics of corrupt or
+ bogus objects encountered in the wild.
</p>
</dd>
</dl></div>
@@ -841,7 +852,7 @@ specified, it defaults to "blob".</p></div> <div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2013-08-20 08:40:27 PDT
+Last updated 2015-05-11 15:40:21 PDT
</div>
</div>
</body>
|