Lines Matching +full:commits +full:-
7 # http://www.apache.org/licenses/LICENSE-2.0
21 r_man = RepoManager('https://github.com/google/oss-fuzz.git')
73 _, _, err_code = self.git(['cat-file', '-e', commit])
85 out, _, _ = self.git(['show', '-s', '--format=%ct', commit],
96 # Add '--' so that git knows we aren't talking about files.
97 command = ['diff', '--name-only', base, '--']
113 out, _, _ = self.git(['rev-parse', 'HEAD'], check_result=True)
123 out, _, err_code = self.git(['rev-parse', commit + '~' + str(count)],
139 """Gets the list of commits(inclusive) between the old and new commits.
167 limit_args.append(f'--max-count={limit}')
169 out, _, err_code = self.git(['rev-list', commit_range] + limit_args)
170 commits = out.split('\n')
171 commits = [commit for commit in commits if commit]
172 if err_code or not commits:
178 commits.append(oldest_commit)
179 return commits
190 _, err, err_code = self.git(['fetch', '--unshallow'], check_result=False)
192 logging.error('Unshallow returned non-zero code: %s', err)
202 self.git(['checkout', '-f', 'FETCH_HEAD'], check_result=True)
217 self.git(['checkout', '-f', commit], check_result=True)
219 self.git(['clean', '-fxd'], check_result=True)
234 base_dir: The full file-path where the git repo is located.