Re: [ITCH] Specify refspec without remote
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- Apr 10, 2013, 13:22 UTC
- Message-ID
- <CALkWK0=Tu7ttVqF1RPKvHiMQTH7dU+PKCfsZw9eq1H=vkRen9A@mail.gmail.com>
- In-Reply-To
- <20130410035039.GA795@sigill.intra.peff.net>
Jeff King wrote:
Show 6 quoted lines
> 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.