commit | fa1fb8b5d1aa8e4a3b3d2c37fe4b175c7c778f7a | [log] [tgz] |
---|---|---|
author | Andrew Pickford <anpickford@googlemail.com> | Tue Apr 18 15:42:06 2017 +0200 |
committer | Andrew Pickford <anpickford@googlemail.com> | Tue Apr 18 15:42:06 2017 +0200 |
tree | ab64a3531f6eda57e579b447be2900fd0cea8b82 | |
parent | 9d066a232b97cedd83dea79599aefa6490adc54a [diff] |
fix to use the branch parameter
diff --git a/reclass/storage/yaml_git/__init__.py b/reclass/storage/yaml_git/__init__.py index b08d4f9..ec78954 100644 --- a/reclass/storage/yaml_git/__init__.py +++ b/reclass/storage/yaml_git/__init__.py
@@ -69,7 +69,7 @@ return files def files_in_branch(self, branch): - tree = self.repo.revparse_single('master').tree + tree = self.repo.revparse_single(branch).tree return self.files_in_tree(tree, '') def files_in_repo(self):