pub fn find_last_version_in_files(
    tree: &WorkingTree,
    cfg: &ProjectConfig
) -> Result<Option<(Version, Option<Status>)>, Box<dyn Error>>