From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sverre Rabbelier Subject: Re: [PATCH 1/3] t9350: point out that refs are not updated correctly Date: Thu, 25 Oct 2012 00:06:53 -0700 Message-ID: References: <1320535407-4933-1-git-send-email-srabbelier@gmail.com> <1320535407-4933-2-git-send-email-srabbelier@gmail.com> <20121024180807.GA3338@elie.Belkin> <20121024191149.GA3120@elie.Belkin> <20121025042731.GA11243@elie.Belkin> <20121025052823.GB11243@elie.Belkin> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: Jonathan Nieder , Junio C Hamano , Jeff King , Git List , Daniel Barkalow , Ramkumar Ramachandra , Dmitry Ivankov , Johannes Schindelin , =?UTF-8?B?w4Z2YXIgQXJuZmrDtnLDsA==?= , Eric Herman , Fernando Vezzosi To: Felipe Contreras X-From: git-owner@vger.kernel.org Thu Oct 25 09:07:46 2012 Return-path: Envelope-to: gcvg-git-2@plane.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TRHXe-0001i7-6W for gcvg-git-2@plane.gmane.org; Thu, 25 Oct 2012 09:07:46 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758377Ab2JYHHe (ORCPT ); Thu, 25 Oct 2012 03:07:34 -0400 Received: from mail-qa0-f53.google.com ([209.85.216.53]:37929 "EHLO mail-qa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758362Ab2JYHHe (ORCPT ); Thu, 25 Oct 2012 03:07:34 -0400 Received: by mail-qa0-f53.google.com with SMTP id c1so35241qae.19 for ; Thu, 25 Oct 2012 00:07:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=t9xgbAMkEV6nRwH45h3JUzCWvhEHOc63PUo29XqIVJ0=; b=rwr57Phg9lEtc0IJAeda/8It7b8lenGbd5BPY9rb8fwyhq+lwn5tV1MoKYQqy2WC7z eWs2MjM6l0cEg2mPMM7uXRdDFHXvymebKlg03qIECmooMnMt/hiIhPBl4WEnQxJ14hc+ 5yalTk4XVz0WXFlIEAhkHLoQIftIfrLYP+jKD4a5IsnwwMQmStBUoY7REh65uXRKPleR LLYUS078ncdTpPy1rQxWvTA00R20CMpp5/dyIA6cRf+p1s1SOWyZAgJWVgSBdXQAOYgO cz2Avx+NFIpn31LVjPRrLNPo9K3190ZlPIXWo8GX3lW7Gg73+4o0l1Hx33tzgiWnaPRL tTlw== Received: by 10.224.189.12 with SMTP id dc12mr8487974qab.59.1351148853202; Thu, 25 Oct 2012 00:07:33 -0700 (PDT) Received: by 10.49.36.195 with HTTP; Thu, 25 Oct 2012 00:06:53 -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 Wed, Oct 24, 2012 at 11:19 PM, Felipe Contreras wrote: > Oh really? This is with your patches: > > % git fast-export --{im,ex}port-marks=/tmp/marks foo1 ^foo2 foo3..foo3 > reset refs/heads/foo1 > from :21 > > reset refs/heads/foo3 > from :21 > > reset refs/heads/foo3 > from :21 > > reset refs/heads/foo2 > from :21 That's weird, we have this bit: + if (elem->whence != REV_CMD_REV && elem->whence != REV_CMD_RIGHT) + continue; If I understand correctly that should cause it to only output revs (e.g. 'foo1') and the rhs side of a have..want spec. -- Cheers, Sverre Rabbelier