Lines Matching refs:commit
54 def CountMatchingFiles(commit, files): argument
58 cmd = ["git", "ls-tree", "-r", commit] + [f for f in files]
69 commit = GetGitCommitHash(start)
73 matched_files = CountMatchingFiles(commit, files)
74 if verbose: print("Commit %s matched %d files" % (commit, matched_files))
76 return commit
77 commit = GetGitCommitHash("%s^" % commit)
87 commit = FindFirstMatchingCommit(args.branch, files, args.limit, args.verbose) variable
89 print(">>> Matching commit: %s" % commit)
90 print(subprocess.check_output(["git", "log", "-1", commit]))
93 print(commit)