submit: fixes to target guessing logic
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Wed, 17 Oct 2012 10:54:31 +0000 (13:54 +0300)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Wed, 17 Oct 2012 10:54:31 +0000 (13:54 +0300)
commitb85564110510d3af0b942e6383ffb49be881cc31
tree15dba9ee3b3934c64eb939cad60e1d21cdb19aba
parent5feaea236585876180cc4d8cb4c38b34accb8c6c
submit: fixes to target guessing logic

Try to find the upstream branch of the current branch, not the target.

Also, get rid of the confusing variable name 'target_branch' as we're
not submitting to any branch - the 'target' is just one part of the tag
name.

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