From: Sverre Rabbelier Date: Tue, 07 Jun 2011 17:32:22 GMT Subject: Re: [PATCH 8/8] git_remote_helpers: push all refs during a non-local export Message-ID: In-Reply-To: <20110607172129.GG22111@sigill.intra.peff.net> Heya, On Tue, Jun 7, 2011 at 19:21, Jeff King wrote: > 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