GitRepository/rev_parse: add new argument 'short'
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 3 Jul 2012 07:06:54 +0000 (10:06 +0300)
committerGuido Günther <agx@sigxcpu.org>
Tue, 3 Jul 2012 19:46:26 +0000 (21:46 +0200)
commit4d56ab643100776171a66bff9686ff7f676ad1c5
tree380210d6871b786222c193ea0c75ce629ba4438b
parent2c668bfe24e01697b7cdba0b621f1a1fcd99e093
GitRepository/rev_parse: add new argument 'short'

Adds a new argument to get abbreviated SHA1.

Also, modifies rev_parse() to use GitArgs class.

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