git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: New command/tool: git filter-repo

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Feb 8, 2019, 10:22 UTC
Message-ID
<nycvar.QRO.7.76.6.1902081119320.41@tvgsbejvaqbjf.bet>
In-Reply-To
<CABPp-BGOz8nks0+Tdw5GyGqxeYR-3FF6FT5JcgVqZDYVRQ6qog@mail.gmail.com>
Hi Elijah,
On Thu, 7 Feb 2019, Elijah Newren wrote:
Show 11 quoted lines
> On Thu, Jan 31, 2019 at 12:57 AM Elijah Newren <newren@gmail.com> wrote:
> > git-filter-repo[1], a filter-branch-like tool for rewriting repository
> > history, is ready for more widespread testing and feedback.  The rough
> 
> Someone at the Contributor Summit (Michael Haggerty perhaps?) asked me
> about performance numbers on known repositories for filter-repo and
> how it compared to other tools; I gave extremely rough estimates, but
> here I belatedly provide some more detailed figures.  In each case, I
> report both filtering time, and cleanup (gc or clone) time[0]:
> 
> [...]
Those are pretty good numbers right there.
>  My hope is that filter-repo serves as a good general purpose filtering
>  tool so that people can stop suffering from filter-branch.

I agree. `git filter-branch` was simply pulled out of Cogito when that project was declared discontinued, as the last nugget we could steal from the carcass (we stole such a lot from Cogito that we're probably the reason it died).

And when somebody started to rewrite it in C (calling it `git rewrite-commits` if memory serves), I asked to change it a little so it could be used as a drop-in replacement for `filter-branch`, and unfortunately stopped that effort in its tracks.

So it is really good for me to see you picking up the initiative and make that particular shell script obsolete.

Ciao, Dscho

P.S.: No, I am not willing to even attempt to run filter-branch on Windows.

Previous: Elijah NewrenNext: Ævar Arnfjörð Bjarmason
Message 8 of 13 in “New command/tool: git filter-repo”
  1. Elijah NewrenJan 31, 2019
  2. Junio C HamanoJan 31, 2019
  3. Elijah NewrenJan 31, 2019
  4. Roberto TyleyJan 31, 2019
  5. Elijah NewrenFeb 1, 2019
  6. Elijah NewrenJan 31, 2019
  7. Elijah NewrenFeb 8, 2019
  8. Johannes SchindelinFeb 8, 2019
  9. Ævar Arnfjörð BjarmasonFeb 8, 2019
  10. Johannes SchindelinFeb 8, 2019
  11. Elijah NewrenFeb 11, 2019
  12. Elijah NewrenFeb 11, 2019
  13. Elijah NewrenJun 8, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.