Re: [ITCH] Specify refspec without remote
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- Apr 10, 2013, 21:23 UTC
- Message-ID
- <CALkWK0nxpoLL4zoinE4j8y8NLHo0-b=PcimNLykCjMjOpWYEfQ@mail.gmail.com>
- In-Reply-To
- <20130410211824.GC27070@google.com>
Jonathan Nieder wrote:
> When people disagree about sane defaults, that's a sign that we didn't > understand the problem well. Often more thinking can lead to a > simpler answer.
Okay, let's see if we can all agree.
In a different email, you wrote:
Show 5 quoted lines
> git push master > ... > a) Error: you didn't tell me which remote to push to. > b) Just behave like "git push my-personal-remote master". > c) Behave like "git push origin master".
Here, I'd argue for (d): push to branch.master.pushremote/ branch.master.remote/ remote.pushdefault/ origin. If others agree on this, we can break "matching" appropriately, like I proposed earlier, to make everything consistent once again.