IDEA-80536 Auto-set upstream branch when pushing new local branch, if the branch...
authorKirill Likhodedov <Kirill.Likhodedov@jetbrains.com>
Wed, 1 Feb 2012 13:17:33 +0000 (17:17 +0400)
committerKirill Likhodedov <Kirill.Likhodedov@jetbrains.com>
Wed, 1 Feb 2012 14:01:21 +0000 (18:01 +0400)
commitb4ba8cbb9dd80c0c1ada38a05ff237d610a4cfa2
tree0625a4b5b980a5cdaeb789fa52ac54cd2087d983
parent8512686d8673bb8771fc80d533929b32be0c76a1
IDEA-80536 Auto-set upstream branch when pushing new local branch, if the branch doesn't track anything yet.

This could be done via git push --set-upstream, but it is supported only for Git 1.7.0+.
plugins/git4idea/src/git4idea/config/GitConfigUtil.java
plugins/git4idea/src/git4idea/push/GitPusher.java