Change [1] reduced the scope of the "writing commit graph" monitoring
task. This left some monitor#update() calls out of any task. When out
of a task, the #update call is a noop.
Delete this update calls as they are noops and misleading.
The affected chunks are usually small and quick to write, so probably
they don't need progress monitoring.
[1] https://git.eclipse.org/r/c/jgit/jgit/+/205339
Change-Id: I74d94e6e44e58816937dc8a84e5a10b340e54e0b
for (int n : fanout) {
NB.encodeInt32(tmp, 0, n);
out.write(tmp, 0, 4);
- out.getWriteMonitor().update(1);
}
}
for (RevCommit c : graphCommits) {
c.copyRawTo(tmp, 0);
out.write(tmp, 0, hashsz);
- out.getWriteMonitor().update(1);
}
}
}
NB.encodeInt32(tmp, 0, edgeValue);
out.write(tmp);
- out.getWriteMonitor().update(1);
}
}
}