Re: git remote update -> rejected
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Apr 22, 2008, 15:08 UTC
- Message-ID
- <alpine.DEB.1.00.0804221607190.4460@eeepc-johanness>
- In-Reply-To
- <480DF1E7.5040900@gnu.org>
Hi,
On Tue, 22 Apr 2008, Paolo Bonzini wrote:
Show 8 quoted lines
> > > Okay, how about this: take Peff's patch, but add a warning if > > > --mirror is used on a non-bare repository? > > > > Sounds good to me. Indeed, giving a warning is _very_ good idea as > > --mirror is potentially, even likely, destructive with local changes > > and working directory. > > What about changing --mirror to add a push line instead of a fetch line?
I would not expect --mirror to add a push line when "git-remote add" without --mirror does not a push line either.
Ciao, Dscho