From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vitor Antunes Subject: Re: [PATCH v0] fast-import: Add drop command Date: Thu, 27 Oct 2011 12:22:08 +0100 Message-ID: References: <1316878065-11782-1-git-send-email-vitor.hda@gmail.com> <1316878065-11782-2-git-send-email-vitor.hda@gmail.com> <20110924193733.GB10955@elie> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Cc: Dmitry Ivankov , Jonathan Nieder , git@vger.kernel.org, David Barr To: Sverre Rabbelier X-From: git-owner@vger.kernel.org Thu Oct 27 13:22:45 2011 Return-path: Envelope-to: gcvg-git-2@lo.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RJO2n-0007ab-EQ for gcvg-git-2@lo.gmane.org; Thu, 27 Oct 2011 13:22:45 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754137Ab1J0LWk (ORCPT ); Thu, 27 Oct 2011 07:22:40 -0400 Received: from mail-qy0-f174.google.com ([209.85.216.174]:37456 "EHLO mail-qy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754083Ab1J0LWk (ORCPT ); Thu, 27 Oct 2011 07:22:40 -0400 Received: by qyk4 with SMTP id 4so598290qyk.19 for ; Thu, 27 Oct 2011 04:22:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=LvC2oP/igL45hjvjCndh6NvSjGfev2RvGMSYIXErwnU=; b=N/Tz4piPEBCYj13j4YsENeVtpqT+VeEPm+VCjnoJMFR8shxGNsWI6zRx7m5aIH7+qU kZiNutE5aZwZ5S9omnaqsZDEecyzMTcl2FgJcfTqG+btaqx0QURGjm+4yjdY3Reg8dSs pqcGIyyx3ekK+bsYXvhcV74IBoD4QZu45BRtk= Received: by 10.68.74.4 with SMTP id p4mr73254567pbv.47.1319714559084; Thu, 27 Oct 2011 04:22:39 -0700 (PDT) Received: by 10.68.54.3 with HTTP; Thu, 27 Oct 2011 04:22:08 -0700 (PDT) In-Reply-To: Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: On Thu, Oct 27, 2011 at 12:06 PM, Sverre Rabbelier 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