committed a merge between P1 and P2, it will be propagated properly\r
and all children of the merge will become merge commits with P1,P2\r
as their parents instead of the merge commit.</p>\r
-<p>You can rewrite the commit log messages using <tt>--message-filter</tt>. For\r
+<p>You can rewrite the commit log messages using <tt>--msg-filter</tt>. For\r
example, <tt>git-svn-id</tt> strings in a repository created by <tt>git-svn</tt> can\r
be removed this way:</p>\r
<div class="listingblock">\r
<div class="content">\r
-<pre><tt>git filter-branch --message-filter '\r
+<pre><tt>git filter-branch --msg-filter '\r
sed -e "/^git-svn-id:/d"\r
'</tt></pre>\r
</div></div>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 23-Mar-2008 09:40:59 UTC\r
+Last updated 04-May-2008 06:41:00 UTC\r
</div>\r
</div>\r
</body>\r
and all children of the merge will become merge commits with P1,P2
as their parents instead of the merge commit.
-You can rewrite the commit log messages using `--message-filter`. For
+You can rewrite the commit log messages using `--msg-filter`. For
example, `git-svn-id` strings in a repository created by `git-svn` can
be removed this way:
-------------------------------------------------------
-git filter-branch --message-filter '
+git filter-branch --msg-filter '
sed -e "/^git-svn-id:/d"
'
-------------------------------------------------------
</div>\r
<h2>pre-applypatch</h2>\r
<div class="sectionbody">\r
-<p>This hook is invoked by <tt>git-am</tt>. It takes no parameter,\r
-and is invoked after the patch is applied, but before a commit\r
-is made. Exiting with non-zero status causes the working tree\r
-after application of the patch not committed.</p>\r
+<p>This hook is invoked by <tt>git-am</tt>. It takes no parameter, and is\r
+invoked after the patch is applied, but before a commit is made.</p>\r
+<p>If it exits with non-zero status, then the working tree will not be\r
+committed after applying the patch.</p>\r
<p>It can be used to inspect the current working tree and refuse to\r
make a commit if it does not pass certain test.</p>\r
<p>The default <em>pre-applypatch</em> hook, when enabled, runs the\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 21-Apr-2008 00:47:34 UTC\r
+Last updated 04-May-2008 06:41:00 UTC\r
</div>\r
</div>\r
</body>\r
pre-applypatch
--------------
-This hook is invoked by `git-am`. It takes no parameter,
-and is invoked after the patch is applied, but before a commit
-is made. Exiting with non-zero status causes the working tree
-after application of the patch not committed.
+This hook is invoked by `git-am`. It takes no parameter, and is
+invoked after the patch is applied, but before a commit is made.
+
+If it exits with non-zero status, then the working tree will not be
+committed after applying the patch.
It can be used to inspect the current working tree and refuse to
make a commit if it does not pass certain test.