summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2019-01-15 16:05:02 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2019-01-15 16:05:02 +0000
commit58e4e0e2b99468442bfc03e82edd84ea47f4f169 (patch)
treede2ccdb56d2ed2a765963b0651b039726f018c17
parent8e5bf2c92b33ee3e32354d6ec952db5bf2b0489d (diff)
downloadbuildstream-richardmaw/wip-oldgit-shallow-parents-exclude-fix.tar.gz
-rw-r--r--buildstream/_gitsourcebase.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/buildstream/_gitsourcebase.py b/buildstream/_gitsourcebase.py
index bab3f080b..4e31d10f4 100644
--- a/buildstream/_gitsourcebase.py
+++ b/buildstream/_gitsourcebase.py
@@ -112,7 +112,8 @@ class GitMirror(SourceFetcher):
else:
remote_name = "origin"
- self.source.call([self.source.host_git, 'fetch', remote_name, '--prune', '--force', '--tags'],
+ #self.source.call([self.source.host_git, 'fetch', remote_name, '--prune', '--force', '--tags'],
+ self.source.call([self.source.host_git, 'fetch', remote_name, '--prune'],
fail="Failed to fetch from remote git repository: {}".format(url),
fail_temporarily=True,
cwd=self.mirror)