Daniel Barkalow [off-list ref] writes:
Don't assume that any commit we have is complete; assume that any ref
we have is complete.
Signed-off-by: Daniel Barkalow <redacted>
---
Only lightly tested, but it seems to work. Marks all of the commits in
refs, and their ancestors back as far as the date of the commit it's
processing. If the commit it's processing is marked, it doesn't recurse
into it.
Have you tested this idea with cloning into an empty repository?
It seems to break my tests.