Re: [PATCH] Add git-filter-branch
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jun 3, 2007, 00:50 UTC
- Message-ID
- <Pine.LNX.4.64.0706030147520.4046@racer.site>
- In-Reply-To
- <f3t2mm$f0$1@sea.gmane.org>
Hi,
[thank you for not including me in the Cc: list]
On Sun, 3 Jun 2007, Jakub Narebski wrote:
Show 13 quoted lines
> Johannes Schindelin wrote: > > > 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