Skip to content

Commit

Permalink
doc: list filter-branch subdirectory-filter first
Browse files Browse the repository at this point in the history
The docs claim that filters are applied in the listed order, so
subdirectory-filter should come first.
  • Loading branch information
glasser committed Oct 16, 2017
1 parent 4010f1d commit c15b27c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Documentation/git-filter-branch.txt
Expand Up @@ -89,6 +89,11 @@ OPTIONS
can be used or modified in the following filter steps except
the commit filter, for technical reasons.

--subdirectory-filter <directory>::
Only look at the history which touches the given subdirectory.
The result will contain that directory (and only that) as its
project root. Implies <<Remap_to_ancestor>>.

--env-filter <command>::
This filter may be used if you only need to modify the environment
in which the commit will be performed. Specifically, you might
Expand Down Expand Up @@ -167,11 +172,6 @@ be removed, buyer beware. There is also no support for changing the
author or timestamp (or the tag message for that matter). Tags which point
to other tags will be rewritten to point to the underlying commit.

--subdirectory-filter <directory>::
Only look at the history which touches the given subdirectory.
The result will contain that directory (and only that) as its
project root. Implies <<Remap_to_ancestor>>.

--prune-empty::
Some filters will generate empty commits that leave the tree untouched.
This option instructs git-filter-branch to remove such commits if they
Expand Down

0 comments on commit c15b27c

Please sign in to comment.