GitRepository: allow repo inititialization from subdir
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 5 Jun 2012 11:55:19 +0000 (14:55 +0300)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Fri, 14 Nov 2014 12:22:07 +0000 (14:22 +0200)
commitdfb370dcc7963578efa515918d34ad4b5d451e63
treed240b950eec1cfac0356d7bdc138e80f2acd1ca3
parent76a846a7eca34c457ed6d8eb67709013c2602731
GitRepository: allow repo inititialization from subdir

This allows initialization of a GitRepository object, even if the
current working directory (or path given to GitRepository) is not the
top level directory of the git repository.

Don't guess the git meta data dir, but, take it as reported by git
itself.

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