Re: [PATCH] Add git-filter-branch
From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:43:13
Hi, [thank you for not including me in the Cc: list] On Sun, 3 Jun 2007, Jakub Narebski wrote:
Johannes Schindelin wrote:quoted
This script is derived from Pasky's cg-admin-rewritehist. In fact, it _is_ the same script, minimally adapted to work without cogito. It _should_ be able to perform the same tasks, even if only relying on core-git programs. All the work is Pasky's, just the adaption is mine.I was thinking about rewriting cg-adin-rewritehist as git-rewritehist using Perl (IIRC it needs bash, not only POSIX shell), and make it use git-fast-import.
First, it does not need Perl. Second, it does not even need bash. At least that is what I tried to make sure. I replaced the only instance of a bashim I was aware, namely the arrayism of $unchanged. It can be a string just as well, as we are only storing object names in it. Tell me if it does not work for you. Or even better, provide me with a test case that fails for you. Ciao, Dscho