Re: [PATCH 06/19] git_remote_helpers: push all refs during a non-local export

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Heya,

On Thu, Jun 9, 2011 at 10:43, Jonathan Nieder <jrnieder@xxxxxxxxx> wrote:
> Sverre Rabbelier wrote:
>> On Thu, Jun 9, 2011 at 10:09, Jonathan Nieder <jrnieder@xxxxxxxxx> wrote:
>
>>> Â Â Â Âexport :1 refs/heads/foo
>>> Â Â Â Âexport :2 refs/heads/bar
>>> Â Â Â Âexport :3 +refs/heads/force
>>>
>>> with :1, :2, and :3 being marks in the fast-import stream.
>>
>> The only problem there is that we don't know the relevant marks beforehand.
>
> Since this requires changing "git fast-export" anyway, we could
> arrange to know.

How? Or do you mean like, 'reserve' a certain mark?

> A related problem, though: it is not friendly to stomp on mark numbers
> which an exporter might want to use for some other purpose. ÂSo yeah,
> the precise syntax above is not so great.

We might just want to do it _afterward_. We already have some
communication after the import (the "ok ..." lines), so why not add a
"update :1 /refs/heads/master"?

-- 
Cheers,

Sverre Rabbelier
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]