debian_analyzer::debcommitFunction debcommit
source pub fn debcommit(
tree: &WorkingTree,
committer: Option<&str>,
subpath: &Path,
paths: Option<&[&Path]>,
reporter: Option<&dyn CommitReporter>,
message: Option<&str>,
) -> Result<RevisionId, Error>
Expand description
Create a git commit with message based on the new entries in changelog.
§Arguments
tree - Tree to commit in
committer - Optional committer identity
subpath - subpath to commit in
paths - specifics paths to commit, if any
reporter - CommitReporter to use
§Returns
Created revision id