Re: [PATCH 1/3] t9350: point out that refs are not updated correctly
- From
Sverre Rabbelier <srabbelier@gmail.com>
- Date
- Oct 25, 2012, 07:06 UTC
- Message-ID
- <CAGdFq_hgYPF5eeCB9hSsjVfUyEhkBNJAtzoNuNqs5N6V-+w9Hg@mail.gmail.com>
- In-Reply-To
- <CAMP44s1cRg_we5nXeRG1WcWz7YUOBrauJigeNna1YETcno9p=A@mail.gmail.com>
On Wed, Oct 24, 2012 at 11:19 PM, Felipe Contreras <felipe.contreras@gmail.com> wrote:
Show 14 quoted lines
> 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 :21That'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