X-Git-Url: http://git.scottworley.com/git-cache/blobdiff_plain/f36d5c6f216b5b8cc92e04b2a6f3148e95e50585..e388643be681cca2db3c51f1a55210735865a4be:/git_cache.py?ds=sidebyside 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)