Re: [PATCH 06/19] git_remote_helpers: push all refs during a non-local export
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Jun 9, 2011, 08:43 UTC
- Message-ID
- <20110609084342.GC4885@elie>
- In-Reply-To
- <BANLkTincedbjH+ta6g7+uA3=3k_30RQaCg@mail.gmail.com>
Sverre Rabbelier wrote:
> On Thu, Jun 9, 2011 at 10:09, Jonathan Nieder <jrnieder@gmail.com> wrote:
Show 7 quoted lines
>> 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.
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.