Browse Source

filter-branch: Documentation fix.

It's --msg-filter, not --message-filter.

Signed-off-by: Florian Ragwitz <rafl@debian.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Florian Ragwitz 17 years ago committed by Junio C Hamano
parent
commit
a1748890db
  1. 4
      Documentation/git-filter-branch.txt

4
Documentation/git-filter-branch.txt

@ -242,12 +242,12 @@ committed a merge between P1 and P2, it will be propagated properly
and all children of the merge will become merge commits with P1,P2 and all children of the merge will become merge commits with P1,P2
as their parents instead of the merge commit. 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 example, `git-svn-id` strings in a repository created by `git-svn` can
be removed this way: be removed this way:


------------------------------------------------------- -------------------------------------------------------
git filter-branch --message-filter ' git filter-branch --msg-filter '
sed -e "/^git-svn-id:/d" sed -e "/^git-svn-id:/d"
' '
------------------------------------------------------- -------------------------------------------------------

Loading…
Cancel
Save