Re: [PATCH v0] fast-import: Add drop command
- From
Sverre Rabbelier <srabbelier@gmail.com>
- Date
- Oct 27, 2011, 11:06 UTC
- Message-ID
- <CAGdFq_iY92Gc=WLFVVMpi8w5JNZMo5bSk5=wjHyCmjXmP4RXrQ@mail.gmail.com>
- In-Reply-To
- <CAOpHH-VEhtOg6ai5p9VxWBKA3AFpG3meiJVGrWR4j68ffyQ6Bg@mail.gmail.com>
Heya,
On Tue, Oct 25, 2011 at 11:56, Vitor Antunes <vitor.hda@gmail.com> wrote:
Show 21 quoted lines
> On Mon, Oct 24, 2011 at 7:01 PM, Sverre Rabbelier <srabbelier@gmail.com> wrote: >> I for one welcome our new branch deleting overlords :). >> >> You mention that checkpointing solves some of the concerns raised by >> others in this thread, would automatic checkpointing be way to make >> sure everything is as it should be? > > Apparently I did not explain myself correctly. Let me try again :) > > This is what I am doing: > > 1) import topic > 2) checkpoint > 3) diff-tree and processing > 4) exit if processing returns ok > 5) reset topic to another HEAD > 6) goto 1) > > In this scenario it is the checkpoint that "breaks" everything because > it will write the original tree to disk. When fast-import exits it will > find the old tree on disk but not within "topic" tree.
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?
-- Cheers, Sverre Rabbelier