Lines Matching refs:COMMIT
57 COMMIT = COLOR.color(COLOR.CYAN, 'COMMIT')
74 def commit_start(self, commit, commit_summary):
75 """Emit status for new commit.
78 commit: commit hash.
79 commit_summary: commit summary.
81 status_line = '[%s %s] %s' % (self.COMMIT, commit[0:12], commit_summary)
171 hook_name, commit, fixup_func = fixup_func_list[0]
173 if commit != commit_list[0]:
174 # If the commit is not at the top of the stack, git operations might be
187 print('Attempt to fix "%s" for commit "%s" failed: %s' %
188 (hook_name, commit, result),
191 print('Fix successfully applied. Amend the current commit before '
262 for commit in commit_list:
264 os.environ['PREUPLOAD_COMMIT'] = commit
265 diff = rh.git.get_affected_files(commit)
266 desc = rh.git.get_commit_desc(commit)
270 output.commit_start(commit=commit, commit_summary=commit_summary)
274 hook_results = hook(project, commit, desc, diff)
281 fixup_func_list.append((name, commit,