summaryrefslogtreecommitdiffstats
path: root/git-interpret-trailers.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-01-29 16:05:21 -0800
committerJunio C Hamano <gitster@pobox.com>2016-01-29 16:05:21 -0800
commit7d09864344d875230c85cf7402730fef04f238fb (patch)
tree57322795a506186f702092b33ac46e09d44a6b73 /git-interpret-trailers.html
parent289d7e8e148e955d97776feff1a43a249eda86a6 (diff)
downloadgit-htmldocs-7d09864344d875230c85cf7402730fef04f238fb.tar.gz
Autogenerated HTML docs for v2.7.0-229-g701fa7
Diffstat (limited to 'git-interpret-trailers.html')
-rw-r--r--git-interpret-trailers.html34
1 files changed, 32 insertions, 2 deletions
diff --git a/git-interpret-trailers.html b/git-interpret-trailers.html
index 520e600f4..1dfd52b32 100644
--- a/git-interpret-trailers.html
+++ b/git-interpret-trailers.html
@@ -748,7 +748,7 @@ git-interpret-trailers(1) Manual Page
<h2 id="_synopsis">SYNOPSIS</h2>
<div class="sectionbody">
<div class="verseblock">
-<pre class="content"><em>git interpret-trailers</em> [--trim-empty] [(--trailer &lt;token&gt;[(=|:)&lt;value&gt;])&#8230;] [&lt;file&gt;&#8230;]</pre>
+<pre class="content"><em>git interpret-trailers</em> [--in-place] [--trim-empty] [(--trailer &lt;token&gt;[(=|:)&lt;value&gt;])&#8230;] [&lt;file&gt;&#8230;]</pre>
<div class="attribution">
</div></div>
</div>
@@ -804,6 +804,14 @@ folding rules, the encoding rules and probably many other rules.</p></div>
<div class="sectionbody">
<div class="dlist"><dl>
<dt class="hdlist1">
+--in-place
+</dt>
+<dd>
+<p>
+ Edit the files in place.
+</p>
+</dd>
+<dt class="hdlist1">
--trim-empty
</dt>
<dd>
@@ -1003,6 +1011,28 @@ Signed-off-by: Bob &lt;bob@example.com&gt;</code></pre>
</li>
<li>
<p>
+Use the <em>--in-place</em> option to edit a message file in place:
+</p>
+<div class="listingblock">
+<div class="content">
+<pre><code>$ cat msg.txt
+subject
+
+message
+
+Signed-off-by: Bob &lt;bob@example.com&gt;
+$ git interpret-trailers --trailer 'Acked-by: Alice &lt;alice@example.com&gt;' --in-place msg.txt
+$ cat msg.txt
+subject
+
+message
+
+Signed-off-by: Bob &lt;bob@example.com&gt;
+Acked-by: Alice &lt;alice@example.com&gt;</code></pre>
+</div></div>
+</li>
+<li>
+<p>
Extract the last commit as a patch, and add a <em>Cc</em> and a
<em>Reviewed-by</em> trailer to it:
</p>
@@ -1124,7 +1154,7 @@ $ chmod +x .git/hooks/commit-msg</code></pre>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2015-10-15 16:07:45 PDT
+Last updated 2016-01-29 16:04:54 PST
</div>
</div>
</body>