Home
last modified time | relevance | path

Searched refs:git_stdout (Results 1 – 3 of 3) sorted by relevance

/external/pigweed/pw_package/py/pw_package/
Dgit_repo.py28 def git_stdout(*args: PathOrStr, function
53 remote = git_stdout('remote', 'get-url', 'origin', repo=path)
64 commit = git_stdout('rev-parse', 'HEAD', repo=path)
65 status = git_stdout('status', '--porcelain=v1', repo=path)
/external/pigweed/pw_presubmit/py/pw_presubmit/
Dgit_repo.py28 def git_stdout(*args: PathOrStr, function
40 for file in git_stdout('ls-files', '--', *args, repo=repo).splitlines():
48 for file in git_stdout('diff',
145 git_stdout('rev-parse',
241 return git_stdout('log', '--format=%B', '-n1', commit, repo=repo)
/external/pigweed/pw_env_setup/py/pw_env_setup/virtualenv_setup/
Dinstall.py48 def git_stdout(*args, **kwargs): function
56 return git_stdout('-C', path, 'rev-parse', '--show-toplevel')