} else if (newTree == null)
newTree = new FileTreeIterator(db);
- TextProgressMonitor pm = new TextProgressMonitor();
+ TextProgressMonitor pm = new TextProgressMonitor(errw);
pm.setDelayStart(2, TimeUnit.SECONDS);
diffFmt.setProgressMonitor(pm);
diffFmt.setPathFilter(pathFilter);
if (thin != null)
fetch.setThin(thin.booleanValue());
if (quiet == null || !quiet.booleanValue())
- fetch.setProgressMonitor(new TextProgressMonitor());
+ fetch.setProgressMonitor(new TextProgressMonitor(errw));
FetchResult result = fetch.call();
if (result.getTrackingRefUpdates().isEmpty())
protected void run() throws Exception {
Git git = Git.wrap(db);
git.gc().setAggressive(aggressive)
- .setProgressMonitor(new TextProgressMonitor()).call();
+ .setProgressMonitor(new TextProgressMonitor(errw)).call();
}
}
ObjectDirectoryPackParser imp = (ObjectDirectoryPackParser) p;
imp.setIndexVersion(indexVersion);
}
- p.parse(new TextProgressMonitor());
+ p.parse(new TextProgressMonitor(errw));
inserter.flush();
} finally {
inserter.release();
PushCommand push = git.push();
push.setDryRun(dryRun);
push.setForce(force);
- push.setProgressMonitor(new TextProgressMonitor());
+ push.setProgressMonitor(new TextProgressMonitor(errw));
push.setReceivePack(receivePack);
push.setRefSpecs(refSpecs);
if (all)
@Argument(index = 1, required = true, metaVar = "metaVar_refs", usage = "usage_logAllPretty")
File graph;
- private final ProgressMonitor pm = new TextProgressMonitor();
+ private final ProgressMonitor pm = new TextProgressMonitor(errw);
private Map<ObjectId, ObjectId> rewrites = new HashMap<ObjectId, ObjectId>();