Re: [PATCH 8/8] git_remote_helpers: push all refs during a non-local export
- From
Sverre Rabbelier <srabbelier@gmail.com>
- Date
- Jun 7, 2011, 17:32 UTC
- Message-ID
- <BANLkTimQ9ORrhLm7SAETYa+f8ov81wzUaw@mail.gmail.com>
- In-Reply-To
- <20110607172129.GG22111@sigill.intra.peff.net>
Heya,
On Tue, Jun 7, 2011 at 19:21, Jeff King <peff@peff.net> wrote:
Show 12 quoted lines
> When a remote helper exports to a non-local git repo, the > steps are roughly: > > 1. fast-export into a local staging area; the set of > interesting refs is defined by what is in the fast-export > stream > > 2. git push from the staging area to the non-local repo > > In the second step, we should explicitly push all refs, not > just matching ones. This will let us push refs that do not > yet exist in the remote repo.
That repo is re-used though. Wouldn't this break for:
$ git push branch-a $ # make commits on branch-a that shouldn't be pushed yet $ git push branch-b
-- Cheers, Sverre Rabbelier