Lines Matching full:git
10 """Checks for reverts of commits across a given git commit.
130 ["git", "-C", git_dir, "rev-parse", sha],
148 "git",
160 # It might not be the first line if git feels complainy.
169 assert sha is not None, "git died?"
187 "git",
199 ["git", "-C", git_dir, "rev-parse", ref],
216 ["git", "-C", git_dir, "merge-base", ref_a, ref_b],
224 git_log = ["git", "log", "--format=%H %s", f"{min_ref}..{root}"]
251 git_dir: git directory to find reverts in.
331 ["git", "-C", git_dir, "cat-file", "-t", reverted_sha],
366 parser.add_argument("base_ref", help="Git ref or sha to check for reverts around.")
367 parser.add_argument("-C", "--git_dir", default=".", help="Git directory to use.")
386 # git.