Re: git remote update -> rejected
- From
Jeff King <peff@peff.net>
- Date
- Apr 22, 2008, 13:01 UTC
- Message-ID
- <20080422130122.GB27577@sigill.intra.peff.net>
- In-Reply-To
- <alpine.DEB.1.00.0804221354180.4460@eeepc-johanness>
On Tue, Apr 22, 2008 at 01:56:36PM +0100, Johannes Schindelin wrote:
Show 8 quoted lines
> With the --mirror mode, you can no longer discern clearly between local > and remote branches. This is basically what we had in the beginning, > before the "separate remotes layout". > > So your point is not valid, an update will interfer with "local" branches. > > And when those branches are deleted via "git fetch", you will not be able > to reconstruct them easily, because the reflogs are deleted, too.
I think I'm a little confused. Is it possible to delete branches on a fetch? It looks like remote's --mirror option just specifies "don't use separate remote layout". So again, there is no way to blow away reflogs through a fetch.
OTOH, if you are using non-separate-remote layout, I think it makes sense to _not_ have the "+". OTOOH, when you call the option --mirror, it makes me think of "push --mirror" which implies "+".
-Peff