diff options
Diffstat (limited to 'buildstream/_gitsourcebase.py')
-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 31a1cf66b..a71f70bdc 100644 --- a/buildstream/_gitsourcebase.py +++ b/buildstream/_gitsourcebase.py @@ -297,7 +297,8 @@ class GitMirror(SourceFetcher): for _, commit_ref, _ in self.tags: _, out = self.source.check_output([self.source.host_git, 'rev-list', - '--boundary', '{}..{}'.format(commit_ref, self.ref)], + '--ancestry-path', '--boundary', + '{}..{}'.format(commit_ref, self.ref)], fail="Failed to get git history {}..{} in directory: {}" .format(commit_ref, self.ref, fullpath), fail_temporarily=True, |