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