Struct git_workarea::MergeCommand
[−]
[src]
pub struct MergeCommand { /* fields omitted */ }
A command which has been prepared to create a merge commit.
Methods
impl MergeCommand
[src]
fn committer(&mut self, committer: &Identity) -> &mut Self
[src]
Set the committer of the merge.
[src]
Set the authorship of the merge.
[src]
Set the authorship date of the merge.
fn commit<M>(self, message: M) -> Result<CommitId> where
M: AsRef<str>,
[src]
M: AsRef<str>,
Commit the merge with the given commit message.
Returns the ID of the merge commit itself.