}
// Some repository checkouts may contain lots of files untracked by
// given SCM. For these it would be waste of time to get their history.
RuntimeEnvironment env = RuntimeEnvironment.getInstance();
if (isHistoryIndexDone() && env.noFetchHistoryWhenNotInCache()) {
return null;
}
final History history;
long time;