Home | History | Annotate | Download | only in Scripts

Lines Matching full:commit

33     """Checks the contents of a git commit message."""

39 self.error('Commit message is missing!')
51 url = 'https://github.com/tianocore/tianocore.github.io/wiki/Commit-Message-Format'
59 print('The commit message format passed all checks.')
67 print('The commit message format is not valid:')
197 self.error('Empty commit message!')
201 self.error('First line of commit message (subject line) ' +
205 self.error('First line of commit message (subject line) ' +
209 self.error('Second line of commit message should be ' +
216 self.error('Line %d of commit message is too long.' % (i + 1))
405 Various checks are performed on both the commit message and the
429 result.append('commit message')
511 for commit in commits:
517 print('Checking git commit:', commit)
518 patch = self.read_patch_from_git(commit)
519 self.ok &= CheckOnePatch(commit, patch).ok
522 # Run git to get the commit patch
523 cmd = [ 'rev-list', '--abbrev-commit', '--no-walk' ]
530 def read_patch_from_git(self, commit):
531 # Run git to get the commit patch
532 return self.run_git('show', '--pretty=email', commit)
563 The argument will be handed off to a file or git-commit based