submit: try to guess the remote server
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 16 Oct 2012 08:01:07 +0000 (11:01 +0300)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Wed, 17 Oct 2012 05:11:26 +0000 (08:11 +0300)
commit43a3413a1179eb862a7f2d305bab8bdc5db7ef84
treef46c3c18d3ec7c22537159940148566080a941c7
parent4a6ed18fc68615bee7620a9c2c034d09f5848dfa
submit: try to guess the remote server

If the current branch has upstream set, use it's remote as the server to
push to. Only uses 'origin' as default if no upstream is set.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
gitbuildsys/cmd_submit.py
tools/gbs