X-Git-Url: http://git.scottworley.com/git-cache/blobdiff_plain/8b40ac7a2ce64cbc26e46584827a95112b5e2239..513b354cd4a557c53273e0bacc9be812407f2a4a:/git_cache.py diff --git a/git_cache.py b/git_cache.py index c848161..aab5b07 100644 --- a/git_cache.py +++ b/git_cache.py @@ -53,7 +53,8 @@ def fetch(repo: Repo, ref: Ref) -> Tuple[Path, Rev]: cachedir = git_cachedir(repo) if not os.path.exists(cachedir): logging.debug("Initializing git repo") - subprocess.run(['git', 'init', '--bare', cachedir], check=True) + subprocess.run(['git', 'init', '--bare', cachedir], + check=True, stdout=sys.stderr) logging.debug('Fetching ref "%s" from %s', ref, repo) _git_fetch(cachedir, repo, ref)