D | git-sync-deps | 58 def git_repository_sync_is_disabled(git, directory): argument 61 [git, 'config', 'sync-deps.disable'], cwd=directory) 67 def is_git_toplevel(git, directory): argument 78 [git, 'rev-parse', '--show-toplevel'], cwd=directory).strip() 84 def git_checkout_to_directory(git, repo, checkoutable, directory, verbose): argument 105 [git, 'clone', '--quiet', repo, directory]) 107 if not is_git_toplevel(git, directory): 114 if git_repository_sync_is_disabled(git, directory): 118 subprocess.check_call([git, 'fetch', '--quiet'], cwd=directory) 121 [git, 'checkout', '--quiet', checkoutable], cwd=directory) [all …]
|