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

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
Previous: Johannes SchindelinNext: Sam Vilain
Message 7 of 11 in “contrib/fast-import: add perl version of simple example”
  1. contrib/fast-import: add perl version of simple exampleJeff King, Sep 18, 2007
  2. Jeff KingSep 18, 2007
  3. Johannes SchindelinSep 18, 2007
  4. Andreas EricssonSep 18, 2007
  5. Jeff KingSep 18, 2007
  6. Johannes SchindelinSep 18, 2007
  7. Andreas EricssonSep 18, 2007
  8. Sam VilainSep 18, 2007
  9. Johannes SchindelinSep 18, 2007
  10. Sam VilainSep 18, 2007
  11. Johannes SchindelinSep 18, 2007

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.