GitRepository/branch_contains: remove prefix '*' in branch name
authorZhang Qiang <qiang.z.zhang@intel.com>
Wed, 1 Aug 2012 06:14:20 +0000 (14:14 +0800)
committerGuido Günther <agx@sigxcpu.org>
Wed, 22 Aug 2012 08:16:42 +0000 (10:16 +0200)
commit0af1e729df48d691018ceaec01ef9672d0554471
tree9c080b979e5e3bedc7f6c9735713ae2a35435ee7
parentf4162be94982b88224d6c01e34d4f8002634a8b4
GitRepository/branch_contains: remove prefix '*' in branch name

The git output always prefixes the current branch name with '*'. Without
this fix branch_contains() always fails for the currently active branch.

Signed-off-by: Zhang Qiang <qiang.z.zhang@intel.com>
gbp/git/repository.py