Lines Matching refs:commit
52 def modified_files(root, tracked_only=False, commit=None): argument
67 if commit:
68 return _modified_files_with_commit(root, commit)
89 def _modified_files_with_commit(root, commit): argument
93 commit]).decode('utf-8').split(os.linesep)
106 def modified_lines(filename, extra_data, commit=None): argument
123 if commit is None:
124 commit = '0' * 40
125 commit = commit.encode('utf-8')
129 ['git', 'blame', commit, '--porcelain', '--', filename]).split(
133 commit + br' (?P<line>\d+) (\d+)',