buildpackage/dump_tree: use GitRepository.archive()
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 5 Jun 2012 12:18:24 +0000 (15:18 +0300)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Fri, 14 Nov 2014 12:22:01 +0000 (14:22 +0200)
commitb227428862467b70ba2026d6dab6dfcd0594dcc7
tree69910f863411b2b87bfbb86b910964f8c992d8f8
parenta5f0becbf100b546d176e57696f0314ff2c20b39
buildpackage/dump_tree: use GitRepository.archive()

Make dump_tree() utilize the GitRepository.archive() method - similarly
to git_archive_submodules() - instead of ad-hoc Python pipes. This makes
dump_tree() work independent of the callers current working directory.

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