Re: [PATCH 8/8] 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 Tue, Jun 7, 2011 at 19:21, Jeff King <peff@xxxxxxxx> 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
--
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]