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

Re: git fast-import : How to change parent during import?

From
Sverre Rabbelier <srabbelier@gmail.com>
Date
Aug 29, 2011, 01:13 UTC
Message-ID
<CAGdFq_hC10YgV2Cf_ZSu5LvyFxV6wq1atx9q4kFsP8zQpii9YA@mail.gmail.com>
In-Reply-To
<20110828233931.GD29351@elie.gateway.2wire.net>
Heya,
On Mon, Aug 29, 2011 at 01:39, Jonathan Nieder <jrnieder@gmail.com> wrote:
Show 5 quoted lines
> Vitor Antunes wrote:
>> Is there a way to manually force fast-import to drop an old commit that the
>> frontend script decided it was no longer necessary?
>
> Sure --- patch fast-import (I'd be happy to review such a patch). :)

That's actually a feature that we need for remote-helpers as well (to be able to drop refs). Would be nice to have a 'drop ref' command in fast export :).

-- 
Cheers,

Sverre Rabbelier
Previous: Jonathan Nieder
Message 9 of 9 in “git fast-import : How to change parent during import?”
  1. Vitor AntunesMar 8, 2011
  2. Jonathan NiederMar 8, 2011
  3. Vitor AntunesMar 8, 2011
  4. Jonathan NiederMar 8, 2011
  5. Vitor AntunesMar 9, 2011
  6. Vitor AntunesMar 30, 2011
  7. Vitor AntunesAug 28, 2011
  8. Jonathan NiederAug 28, 2011
  9. Sverre RabbelierAug 29, 2011

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.