Skip to main content

collect_git_log

Function collect_git_log 

Source
pub fn collect_git_log(
    repo_path: &Path,
    from_tag: Option<&str>,
) -> Result<String, ChangelogError>
Expand description

收集 git 提交记录。

from_tag = Some(tag) 时范围是 tag..HEADNone 时返回全部提交。 使用 gix 实现,避免依赖 CLI git。