Home
last modified time | relevance | path

Searched refs:git_dir (Results 1 – 17 of 17) sorted by relevance

/external/toolchain-utils/llvm_tools/
Drevert_checker.py65 def _resolve_sha(git_dir: str, sha: str) -> str:
70 ['git', '-C', git_dir, 'rev-parse', sha],
82 def _log_stream(git_dir: str, root_sha: str,
88 git_dir,
125 def _shas_between(git_dir: str, base_ref: str,
130 git_dir,
138 def _rev_parse(git_dir: str, ref: str) -> str:
140 ['git', '-C', git_dir, 'rev-parse', ref],
152 def find_common_parent_commit(git_dir: str, ref_a: str, ref_b: str) -> str:
154 ['git', '-C', git_dir, 'merge-base', ref_a, ref_b],
[all …]
Drevert_checker_test.py80 git_dir=llvm_project.get_location(),
95 git_dir=llvm_project.get_location(),
/external/libwebm/common/
Dcommon.sh51 git_dir="$1"
53 echo $(git -C "${git_dir}" describe)
58 git_dir="$1"
60 echo $(git -C "${git_dir}" rev-parse HEAD)
/external/llvm-project/llvm/utils/gn/build/
Dwrite_vcsrevision.py45 git_dir = subprocess.check_output(
48 if not os.path.isdir(git_dir):
49 print('.git dir not found at "%s"' % git_dir, file=sys.stderr)
54 cwd=git_dir, shell=use_shell).decode().strip()
57 cwd=git_dir, shell=use_shell).decode().strip()
78 os.path.relpath(os.path.join(git_dir, 'logs', 'HEAD'),
/external/freetype/src/tools/
Dmake_distribution_archives.py27 def is_git_dir_clean(git_dir): argument
29 out = get_cmd_output(["git", "status", "--porcelain"], cwd=git_dir)
76 git_dir = args.source_dir if args.source_dir else _TOP_DIR
77 if not args.ignore_clean_check and not is_git_dir_clean(git_dir):
80 % git_dir
125 for f in get_cmd_output(["git", "ls-files"], cwd=git_dir).split("\n")
138 shutil.copy(os.path.join(git_dir, src), dst)
/external/toolchain-utils/cros_utils/
Dmisc.py317 def HasGitStagedChanges(git_dir): argument
320 git_dir)
325 def HasGitUnstagedChanges(git_dir): argument
327 command = 'cd {0} && git diff --quiet --exit-code HEAD'.format(git_dir)
332 def HasGitUntrackedChanges(git_dir): argument
335 '$(git ls-files --exclude-standard --others)').format(git_dir)
340 def GitGetCommitHash(git_dir, commit_symbolic_name): argument
356 git_dir, commit_symbolic_name)
364 def IsGitTreeClean(git_dir): argument
373 if HasGitStagedChanges(git_dir):
[all …]
/external/skqp/infra/bots/recipe_modules/git/
Dapi.py16 git_dir = self.m.path['start_dir'].join('git')
17 git_bin = git_dir.join('bin')
18 return self.m.env({'PATH': '%s:%s:%%(PATH)s' % (git_dir, git_bin)})
/external/skia/infra/bots/recipe_modules/git/
Dapi.py16 git_dir = self.m.path['start_dir'].join('git')
17 git_bin = git_dir.join('bin')
19 [str(git_dir), str(git_bin), '%(PATH)s'])})
/external/toolchain-utils/rust_tools/
Drust_watch.py133 def update_git_repo(git_dir: pathlib.Path) -> None:
139 cwd=str(git_dir),
156 def get_new_gentoo_commits(git_dir: pathlib.Path,
173 cwd=str(git_dir),
192 def setup_gentoo_git_repo(git_dir: pathlib.Path) -> str:
197 str(git_dir)
205 cwd=str(git_dir),
/external/libopus/meson/
Dget-version.py33 git_dir = os.path.join(srcroot, '.git') variable
34 is_git = os.path.isdir(git_dir)
38 …git_cmd = subprocess.run(['git', '--git-dir=' + git_dir, 'describe', 'HEAD'], stdout=subprocess.PI…
/external/vulkan-validation-layers/scripts/
Dexternal_revision_generator.py122 if args.git_dir is not None:
125 commit_id = get_commit_id_from_git('git', args.git_dir)
128 commit_id = get_commit_id_from_git('git.bat', args.git_dir)
/external/mesa3d/bin/
Dgit_sha1_gen.py14 git_dir = os.path.join(os.path.dirname(sys.argv[0]), '..', '.git')
18 '--git-dir=' + git_dir,
/external/libnl/tools/
Dbuild_release.sh26 git_dir="$(readlink -f "$(git rev-parse --show-toplevel)")"
27 test -f "$git_dir/tools/build_release.sh"
/external/perfetto/tools/
Dwrite_version_header.py66 git_dir = os.path.join(PROJECT_ROOT, '.git')
67 if os.path.exists(git_dir):
/external/llvm-project/llvm/cmake/modules/
DVersionFromVCS.cmake16 get_filename_component(git_dir ${git_output} ABSOLUTE BASE_DIR ${path})
DAddLLVM.cmake2151 get_filename_component(git_dir ${git_output} ABSOLUTE BASE_DIR ${path})
2153 if (NOT EXISTS "${git_dir}/logs/HEAD")
2155 WORKING_DIRECTORY "${git_dir}/logs"
2162 set(${out_var} "${git_dir}/logs/HEAD" PARENT_SCOPE)
/external/freetype/
DChangeLog88 (main): Prefix source file paths with `git_dir` while copying files