summaryrefslogtreecommitdiffstats
path: root/git-filter-branch.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2009-08-19 00:09:13 +0000
committerJunio C Hamano <junio@hera.kernel.org>2009-08-19 00:09:13 +0000
commitb9376927508a2401c20bdb5c5c0608797f822524 (patch)
tree6f7bc2c2e45729d7b4614b08d37a7773ddec3473 /git-filter-branch.html
parentac34f56d4cf6a737f7d8cb56a9b57448f8d6e190 (diff)
downloadgit-htmldocs-b9376927508a2401c20bdb5c5c0608797f822524.tar.gz
Autogenerated HTML docs for v1.6.4-173-g3f189
Diffstat (limited to 'git-filter-branch.html')
-rw-r--r--git-filter-branch.html11
1 files changed, 10 insertions, 1 deletions
diff --git a/git-filter-branch.html b/git-filter-branch.html
index bc8e9fc55..3b7330c06 100644
--- a/git-filter-branch.html
+++ b/git-filter-branch.html
@@ -655,6 +655,15 @@ be removed this way:</p></div>
range in addition to the new branch name. The new branch name will
point to the top-most revision that a <em>git-rev-list</em> of this range
will print.</p></div>
+<div class="para"><p>If you need to add <em>Acked-by</em> lines to, say, the last 10 commits (none
+of which is a merge), use this command:</p></div>
+<div class="listingblock">
+<div class="content">
+<pre><tt>git filter-branch --msg-filter '
+ cat &amp;&amp;
+ echo "Acked-by: Bugs Bunny &lt;bunny@bugzilla.org&gt;"
+' HEAD~10..HEAD</tt></pre>
+</div></div>
<div class="para"><p><strong>NOTE</strong> the changes introduced by the commits, and which are not reverted
by subsequent commits, will still be in the rewritten branch. If you want
to throw out _changes_ together with the commits, you should use the
@@ -762,7 +771,7 @@ and the git list &lt;git@vger.kernel.org&gt;</p></div>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2009-07-01 02:30:50 UTC
+Last updated 2009-08-19 00:08:58 UTC
</div>
</div>
</body>