pub fn log_until(
rev: &str,
done: impl FnMut(&Logged) -> bool,
) -> Result<Vec<Logged>>Expand description
log, stopping as soon as done says the commit just read is the last
one needed. That commit is kept.
For a limit that counts something --max-count cannot: tak log -n 20
wants twenty recorded commits, and how far back they reach is only known
by reading. Collecting the whole walk first read every note on the trunk,
and held all of them at once, to print twenty.