filter-repo: silence verbose fast-import output

Turn off fast-import stat output but do not squelch all error messages.

Signed-off-by: Elijah Newren <newren@gmail.com>
This commit is contained in:
Elijah Newren 2009-02-14 09:37:54 -07:00
parent 5faec262d3
commit 2581e7a0e6

View File

@ -354,7 +354,7 @@ def FastImportInput(target_repo, extra_args = []):
os.makedirs(target_repo)
if call(["git", "init"], cwd = target_repo) != 0:
raise SystemExit("git init in %s failed!" % target_repo)
return Popen(["git", "fast-import"] + extra_args,
return Popen(["git", "fast-import", "--quiet"] + extra_args,
stdin = PIPE,
cwd = target_repo).stdin