Lines Matching full:commit
75 """Returns the latest commit for this ref."""
89 def get_patch(commit):
90 """Returns the patch for this commit."""
91 cmd = ['git', 'format-patch', '--stdout', '-1', commit]
107 def get_file_content(commit, path):
108 """Returns the content of a file at a specific commit.
117 cmd = ['git', 'show', '%s:%s' % (commit, path)]
164 def get_affected_files(commit):
170 return raw_diff(os.getcwd(), '%s^!' % commit)
181 def get_commit_desc(commit):
182 """Returns the full commit message of a commit."""
183 cmd = ['git', 'log', '--format=%B', commit + '^!']