@@ -6,7 +6,9 @@ filter-branch](https://git-scm.com/docs/git-filter-branch) but without the
6
6
capitulation-inducing poor
7
7
[ performance] ( https://public-inbox.org/git/CABPp-BGOz8nks0+Tdw5GyGqxeYR-3FF6FT5JcgVqZDYVRQ6qog@mail.gmail.com/ ) ,
8
8
with far more capabilities, and with a design that scales usability-wise
9
- beyond trivial rewriting cases.
9
+ beyond trivial rewriting cases. [ git filter-repo is now recommended by the
10
+ git project] ( https://git-scm.com/docs/git-filter-branch#_warning ) instead
11
+ of git filter-branch.
10
12
11
13
While most users will probably just use filter-repo as a simple command
12
14
line tool (and likely only use a few of its flags), at its core filter-repo
@@ -72,20 +74,25 @@ but some highlights for the main competitors:
72
74
* filter-branch is [ extremely to unusably
73
75
slow] ( https://public-inbox.org/git/CABPp-BGOz8nks0+Tdw5GyGqxeYR-3FF6FT5JcgVqZDYVRQ6qog@mail.gmail.com/ )
74
76
([ multiple orders of magnitude slower than it should
75
- be] ( https://htmlpreview.github.io/?https://raw.githubusercontent. com/newren/git-filter-repo/ docs/html/ git-filter-branch.html #PERFORMANCE ) )
77
+ be] ( https://git-scm. com/docs/git-filter-branch#PERFORMANCE ) )
76
78
for non-trivial repositories.
77
79
78
80
* [ filter-branch is riddled with
79
- gotchas] ( https://htmlpreview.github.io/?https://raw.githubusercontent. com/newren/git-filter-repo/ docs/html/ git-filter-branch.html #SAFETY )
80
- that can silently corrupt your rewrite or at least thwart your
81
- "cleanup" efforts by giving you something more problematic and messy
82
- than what you started with.
81
+ gotchas] ( https://git-scm. com/docs/git-filter-branch#SAFETY ) that can
82
+ silently corrupt your rewrite or at least thwart your "cleanup"
83
+ efforts by giving you something more problematic and messy than what
84
+ you started with.
83
85
84
86
* filter-branch is [ very onerous] ( #simple-example-with-comparisons )
85
87
[ to
86
88
use] ( https://github.com/newren/git-filter-repo/blob/a6a6a1b0f62d365bbe2e76f823e1621857ec4dbd/contrib/filter-repo-demos/filter-lamely#L9-L61 )
87
89
for any rewrite which is even slightly non-trivial.
88
90
91
+ * the git project has stated that the above issues with filter-branch
92
+ cannot be backward compatibly fixed; they recommend that you [ stop
93
+ using
94
+ filter-branch] ( https://git-scm.com/docs/git-filter-branch#_warning )
95
+
89
96
* die-hard fans of filter-branch may be interested in
90
97
[ filter-lamely] ( contrib/filter-repo-demos/filter-lamely )
91
98
(a.k.a. [ filter-branch-ish] ( contrib/filter-repo-demos/filter-branch-ish ) ),
0 commit comments