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
129 def git(*cmd, **kwargs):
130 return shell(["git"] + list(cmd), **kwargs)
134 commits = git("rev-list", range).splitlines()
168 # Check that the remote commit exists, otherwise let git proceed
169 if "commit" not in git("cat-file", "-t", remote_sha, ignore_errors=True):
180 print(" - " + git("show", "--oneline", "--quiet", sha))
187 msg = git("log", "--format=%B", "-n1", sha)
198 eprint("Try running: llvm/utils/git/arcfilter.sh")
205 if not shutil.which("git"):
206 die("error: cannot find git command")