pub fn get_commits_between_with_callback<T, F>( repo_path: &Path, from: &str, to: &str, callback: F, ) -> Result<Vec<T>>where F: FnMut(&RecentCommit) -> Result<T>,