pub fn collect_reachable_commit_oids(
git_dir: &Path,
odb: &Odb,
) -> Result<HashSet<ObjectId>>Expand description
Collect reachable commit OIDs from on-disk ref tips under git_dir.
Prefer collect_reachable_commit_oids_for_repository when a crate::repo::Repository is
available (reftable and linked worktrees require the ref store).