summaryrefslogtreecommitdiff
path: root/buildstream/_gitsourcebase.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/_gitsourcebase.py')
-rw-r--r--buildstream/_gitsourcebase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_gitsourcebase.py b/buildstream/_gitsourcebase.py
index b986f7543..c0913409c 100644
--- a/buildstream/_gitsourcebase.py
+++ b/buildstream/_gitsourcebase.py
@@ -171,7 +171,7 @@ class GitMirror(SourceFetcher):
tags = set()
for options in [[], ['--first-parent'], ['--tags'], ['--tags', '--first-parent']]:
exit_code, output = self.source.check_output(
- [self.source.host_git, 'describe', '--abbrev=0', ref] + options,
+ [self.source.host_git, 'describe', '--abbrev=0', ref, *options],
cwd=self.mirror)
if exit_code == 0:
tag = output.strip()