File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
hermetic_build/common/model Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -106,8 +106,10 @@ def get_qualified_commits(
106106 :return: QualifiedCommit objects.
107107 """
108108 with tempfile .TemporaryDirectory (ignore_cleanup_errors = True ) as tmp_dir :
109- # we only need commit history, thus a shadow clone is enough.
110- repo = Repo .clone_from (url = repo_url , to_path = tmp_dir , filter = ["blob:none" ])
109+ # We include blobs to avoid unexpected missing git objects when computing
110+ # a diff.
111+ # See https://github.com/googleapis/sdk-platform-java/issues/3745
112+ repo = Repo .clone_from (url = repo_url , to_path = tmp_dir )
111113 commit = repo .commit (self .current_config .googleapis_commitish )
112114 proto_paths = self .current_config .get_proto_path_to_library_name ()
113115 qualified_commits = []
You can’t perform that action at this time.
0 commit comments