pub fn tagged_commit_from(
root: &Path,
start: &str,
path: &Path,
sha: &str,
read: &dyn Fn(&str) -> Option<String>,
) -> Result<Option<VersionCommit>>Expand description
Like tagged_commit, starting from commit start instead of HEAD.
ยงErrors
Returns an error when root is not a git repository, when start does not
resolve to a commit, or when the ancestry walk fails.