git: do not double-decode
commitb4d14436dcf7edabcbb9031af0b32da0d2126afe
authorDavid Aguilar <davvid@gmail.com>
Thu, 26 Dec 2013 09:21:42 +0000 (26 01:21 -0800)
committerDavid Aguilar <davvid@gmail.com>
Thu, 26 Dec 2013 09:21:42 +0000 (26 01:21 -0800)
tree0f8fbb2a38d8ee7a986e1cfb0efb9ba080490e01
parentc6f63327bb5a884c86d8e98bf1698ebe728ec868
git: do not double-decode

Avoid calling decode() twice when running git commands via
Git.execute().  Pass the encoding to run_command() so that the initial
decode() uses the right encoding and remove the redundant decode() call
in execute().

Signed-off-by: David Aguilar <davvid@gmail.com>
cola/git.py