On Wed, Apr 04, 2012 at 04:26:39PM -0700, Junio C Hamano wrote: > * jc/push-upstream-sanity (2012-04-03) 2 commits > - [fixup] remove misguided "try to see if URLs are the same" > - push: detect nonsense "upstream" check more carefully > > "git push $there" without refspec, when the current branch is set to push > to a remote different from $there, used to push to $there using the > upstream information to a remote unreleated to $there. The patch produced by squashing those together looks good to me. Though it might be worth getting input from people who use "upstream" (whether it becomes the default or not) by re-posting the final patch under a more obvious subject. > This is necessary if we were to switch the push.default to 'current'. I assume you meant "upstream" here. -Peff -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html