Lines Matching +full:ls +full:- +full:tree
3 # Use of this source code is governed by a BSD-style license that can be
21 "--branch", "-b", default="origin/master", type=str,
22 help="Git tree-ish where to start searching for commits, "
25 "--limit", "-l", default=500, type=int,
28 "--verbose", "-v", default=False, action="store_true",
38 if line.startswith("diff --git "):
39 # diff --git a/src/objects.cc b/src/objects.cc
53 cmd = ["git", "log", "-1", "--format=%H", treeish]
59 # Calling out to git once and parsing the result Python-side is faster
60 # than calling 'git ls-tree' for every file.
61 cmd = ["git", "ls-tree", "-r", commit] + [f for f in files]
82 "Try running 'git fetch', specifying the correct --branch, "
83 "and/or setting a higher --limit.")
93 print(subprocess.check_output(["git", "log", "-1", commit]))