debcommit

Function debcommit 

Source
pub fn debcommit(
    tree: &dyn WorkingTree,
    committer: Option<&str>,
    subpath: &Path,
    paths: Option<&[&Path]>,
    reporter: Option<&dyn PyCommitReporter>,
    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