buildpackage/git_archive_single: use GitRepository.archive()
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 15 May 2012 15:13:43 +0000 (18:13 +0300)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Fri, 14 Nov 2014 12:22:01 +0000 (14:22 +0200)
commita5f0becbf100b546d176e57696f0314ff2c20b39
tree407fe0173da993219740605f2027f7f5ee7c6504
parent92920ea579135830eb345ccdeb7864f17831bfaa
buildpackage/git_archive_single: use GitRepository.archive()

Use GitRepository.archive() method like git_archive_submodules() does.
This makes it possible to call git_archive_single() independent of the
callers current working directory.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
gbp/scripts/buildpackage.py
gbp/scripts/common/buildpackage.py