From: Junio C Hamano Date: Fri, 20 Apr 2012 22:49:51 +0000 (-0700) Subject: Merge branch 'jc/push-upstream-sanity' X-Git-Tag: v1.7.11-rc0~138 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=27da1cf65b9f30a51c061409c697f94b9b56b09c;p=git.git Merge branch 'jc/push-upstream-sanity' Fix broken 'push to upstream' implementation. "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. * jc/push-upstream-sanity: push: error out when the "upstream" semantics does not make sense --- 27da1cf65b9f30a51c061409c697f94b9b56b09c