Re: [PATCH] contrib/fast-import: add perl version of simple example
- From
Andreas Ericsson <ae@op5.se>
- Date
- Sep 18, 2007, 11:28 UTC
- Message-ID
- <46EFB65B.6030202@op5.se>
- In-Reply-To
- <Pine.LNX.4.64.0709181217200.28586@racer.site>
Johannes Schindelin wrote:
Show 18 quoted lines
> Hi, > > On Tue, 18 Sep 2007, Jeff King wrote: > >> I think he means a dump that you can meaningfully edit with sed or a >> text editor. And even nicer, one that could be fed back into >> git-fast-import. So you could do something like: >> >> git-fast-export A..B >dump >> vi dump >> git-fast-import <dump >> >> to rewrite history in a very flexible way. > > Exactly what I meant. Some people seem to have problems with > filter-branch, but somehow no proper bug report, let alone fix, evolved > from that. >
The main problem is that it in my use-cases fixes a nuisance, but not a real problem, while the man-page SYNOPSIS consists of a full 5 lines, most of which are far from obvious at a first glance. The seeming effort involved just doesn't seem worth bothering with.
> I guess these people are more comfortable with what you just described. >
I know I would be, especially since all changes would show up in an entirely different repo. I know filter-branch is probably completely safe, but even a 0.1% risk of losing *anything* isn't worth taking to fix a small nuisance.
-- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231