deb: make find_version() return sha1 of a commit
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Thu, 19 Jan 2012 15:03:38 +0000 (17:03 +0200)
committerGuido Günther <agx@sigxcpu.org>
Sat, 21 Jan 2012 16:45:55 +0000 (17:45 +0100)
commitefaa8a2578e0c3ba99569be0dfef62ffc5a651ad
treef95bcdd7aa924fe59e01bca32373ba7b8d5d6afa
parentccef796d48f81c841f9cf188bd97d6f76910033c
deb: make find_version() return sha1 of a commit

Change find_version() so that it always returns sha1 of a commit object.
That is, annotated tags are dereferenced to a commit object. Previously
find_commit returned the sha1 of the tag object.
gbp/deb/git.py