Searched refs:GitCmd (Results 1 – 1 of 1) sorted by relevance
/external/perfetto/infra/git_mirror_bot/ |
D | mirror_aosp_to_ghub_repo.py | 90 def GitCmd(*args, **kwargs): function 105 GitCmd('init', '--bare', '--quiet') 106 GitCmd('remote', 'add', 'upstream', GIT_UPSTREAM) 107 GitCmd('config', 'remote.upstream.fetch', '+refs/*:refs/remotes/upstream/*') 108 GitCmd('remote', 'add', 'mirror', GIT_MIRROR, '--mirror=fetch') 113 raw = GitCmd('ls-tree', '-r', '--long', tree_sha1) 118 raw = GitCmd('cat-file', 'commit', commit_sha1) 131 out = GitCmd('hash-object', '-w', '-t', 'commit', '--stdin', stdin=raw) 164 GitCmd('fetch', '--all', '--quiet') 165 all_refs = GitCmd('show-ref') [all …]
|