Lines Matching defs:git
12 pre-push git hook integration
18 ln -sf ../../llvm/utils/git/pre-push.py .git/hooks/pre-push
20 From the git doc:
22 The pre-push hook runs during git push, after the remote refs have been
130 def git(*cmd, **kwargs):
131 return shell(['git'] + list(cmd), **kwargs)
135 commits = git('rev-list', range).splitlines()
162 # Check that the remote commit exists, otherwise let git proceed
163 if "commit" not in git('cat-file','-t', remote_sha, ignore_errors=True):
174 print(' - ' + git('show', '--oneline', '--quiet', sha))
182 msg = git('log', '--format=%B', '-n1', sha)
190 eprint('Try running: llvm/utils/git/arcfilter.sh')
197 if not shutil.which('git'):
198 die('error: cannot find git command')