Lines Matching full:git
34 "--write-git-rev",
36 help="if set, writes git revision, else writes #undef",
49 git, use_shell = which("git"), False
50 if not git:
51 git = which("git.exe")
52 if not git:
53 git, use_shell = which("git.bat"), True
56 [git, "rev-parse", "--git-dir"], cwd=LLVM_DIR, shell=use_shell
62 print('.git dir not found at "%s"' % git_dir, file=sys.stderr)
67 [git, "rev-parse", "--short", "HEAD"], cwd=git_dir, shell=use_shell
74 [git, "remote", "get-url", "origin"], cwd=git_dir, shell=use_shell