diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2019-01-15 16:05:02 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2019-01-15 16:05:02 +0000 |
commit | 58e4e0e2b99468442bfc03e82edd84ea47f4f169 (patch) | |
tree | de2ccdb56d2ed2a765963b0651b039726f018c17 | |
parent | 8e5bf2c92b33ee3e32354d6ec952db5bf2b0489d (diff) | |
download | buildstream-richardmaw/wip-oldgit-shallow-parents-exclude-fix.tar.gz |
-rw-r--r-- | buildstream/_gitsourcebase.py | 3 |
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) |