Lines Matching refs:git_commit
253 def changed_files(self, git_commit=None):
271 def create_patch(self, git_commit=None, changed_files=None):
295 def commit_with_message(self, message, username=None, password=None, git_commit=None, force_squash=False, changed_files=None):
445 def changed_files(self, git_commit=None):
485 def create_patch(self, git_commit=None, changed_files=None):
563 def commit_with_message(self, message, username=None, password=None, git_commit=None, force_squash=False, changed_files=None):
707 def merge_base(self, git_commit):
708 if git_commit:
710 if git_commit.upper() == 'HEAD..':
713 if '..' not in git_commit:
714 git_commit = git_commit + "^.." + git_commit
715 return git_commit
719 def changed_files(self, git_commit=None):
721 status_command = ['git', 'diff', '-r', '--name-status', '-C', '-M', "--no-ext-diff", "--full-index", self.merge_base(git_commit)]
726 def _changes_files_for_commit(self, git_commit):
728 changed_files = self.run(["git", "show", "--pretty=format:", "--name-only", git_commit]).splitlines()
768 def create_patch(self, git_commit=None, changed_files=None):
772 command = ['git', 'diff', '--binary', "--no-ext-diff", "--full-index", "-M", self.merge_base(git_commit), "--"]
789 git_commit = self._run_git_svn_find_rev('r%s' % svn_revision)
790 if not git_commit:
793 return git_commit
796 def svn_revision_from_git_commit(self, git_commit):
797 svn_revision = self._run_git_svn_find_rev(git_commit)
806 git_commit = self.git_commit_from_svn_revision(revision)
807 return self.create_patch(git_commit)
816 git_commit = self.git_commit_from_svn_revision(revision)
817 committer_email = self.run(["git", "log", "-1", "--pretty=format:%ce", git_commit])
823 git_commit = self.git_commit_from_svn_revision(revision)
825 self.run(['git', 'revert', '--no-commit', git_commit], error_handler=Executive.ignore_error)
840 def commit_with_message(self, message, username=None, password=None, git_commit=None, force_squash=False, changed_files=None):
844 if git_commit:
846 if git_commit.upper() == 'HEAD..':
858 return self._commit_on_branch(message, git_commit, username=username, password=password)
866 def _commit_on_branch(self, message, git_commit, username=None, password=None):
869 commit_ids = self.commit_ids_from_commitish_arguments([git_commit])