Re: [ITCH] Specify refspec without remote
- From
Jeff King <peff@peff.net>
- Date
- Apr 10, 2013, 15:56 UTC
- Message-ID
- <20130410155611.GA10749@sigill.intra.peff.net>
- In-Reply-To
- <CALkWK0=Tu7ttVqF1RPKvHiMQTH7dU+PKCfsZw9eq1H=vkRen9A@mail.gmail.com>
On Wed, Apr 10, 2013 at 06:52:51PM +0530, Ramkumar Ramachandra wrote:
Show 11 quoted lines
> Jeff King wrote: > > git push --remote=host:some/path > > > > if we are willing to break the existing syntax. Though your proposal > > does have the benefit of breaking only one particular syntax which is > > (I'm guessing) less frequently used. But we'd still need the usual > > deprecation period, I think. > > Why? 'git push host:some/path' should treat host:some/path as a > destination and not a refspec. If the user meant refspec, she should > do 'git push -- host:some/path' instead.
You snipped the part of Jonathan's message I quoted; I was responding specifically to making "git push host:some/path" an error. I do not think that is a good idea, and doing so would require a deprecation period.
-Peff