Merge branch 'jc/push-upstream-sanity'
authorJunio C Hamano <gitster@pobox.com>
Fri, 20 Apr 2012 22:49:51 +0000 (15:49 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 20 Apr 2012 22:49:51 +0000 (15:49 -0700)
commit27da1cf65b9f30a51c061409c697f94b9b56b09c
treeeca16ddaa3ff9a7d8efd23453bdc274be13e2696
parentbb52e7f600c9732c624ffc27f8321f55c4b4d90b
parent135dadef712f0c4cf884940e751024c831937904
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