GitRepository/diff: catch git error
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Wed, 26 Sep 2012 12:07:56 +0000 (15:07 +0300)
committerGuido Günther <agx@sigxcpu.org>
Wed, 7 Nov 2012 20:09:58 +0000 (21:09 +0100)
commitb7cdef5e8b62cbaf41e330be9b54215ff8782dab
treeccce454e624f2c9357b0d1c6c510f0b595e851c9
parentba854d88c5455ff7b1abab92c1d685d50855991d
GitRepository/diff: catch git error

Raise an exception if the git command fails. Also, utilize _git_inout()
instead of the deprecated _git_getoutput().

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
gbp/git/repository.py