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

Re: [PATCH v0] fast-import: Add drop command

From
Vitor Antunes <vitor.hda@gmail.com>
Date
Oct 27, 2011, 11:22 UTC
Message-ID
<CAOpHH-W30umoP6CuvrXgiSPBC2NjLvNWUX0uxhU4SU3kBB4H-A@mail.gmail.com>
In-Reply-To
<CAGdFq_iY92Gc=WLFVVMpi8w5JNZMo5bSk5=wjHyCmjXmP4RXrQ@mail.gmail.com>
On Thu, Oct 27, 2011 at 12:06 PM, Sverre Rabbelier <srabbelier@gmail.com> wrote:
> I'm afraid I don't understand why it's a bad thing that fast-import
> will find the old tree on disk, won't it just be gc-ed if it is no
> longer used?

No, because fast-import actively checks this to make sure the frontend script did not do anything wrong during the import. I think the check makes sense and may help debugging a corner case the frontend script does not support. So, using "--force" is also not a solution because it ignores everything and not only the specific commits I want to leave behind.

Vitor
Previous: Sverre RabbelierNext: Sverre Rabbelier
Message 10 of 15 in “fast-import: Add drop command”
  1. fast-import: Add drop commandVitor Antunes, Sep 24, 2011
  2. fast-import: Add drop commandVitor Antunes, Sep 24, 2011
  3. Jonathan NiederSep 24, 2011
  4. Dmitry IvankovSep 24, 2011
  5. Vitor AntunesSep 27, 2011
  6. Vitor AntunesOct 24, 2011
  7. Sverre RabbelierOct 24, 2011
  8. Vitor AntunesOct 25, 2011
  9. Sverre RabbelierOct 27, 2011
  10. Vitor AntunesOct 27, 2011
  11. Sverre RabbelierOct 27, 2011
  12. Vitor AntunesNov 9, 2011
  13. Sverre RabbelierNov 9, 2011
  14. Vitor AntunesNov 9, 2011
  15. Vitor AntunesSep 24, 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.