Function commit_summary

Source
pub fn commit_summary(
    runner: Arc<impl TaskRunner<Response = ShellResponse>>,
    commit: &Option<String>,
) -> Result<CmdInfo>
Expand description

Get the last commit summary from the local git repository.

This will be used as the default title for the merge request. Takes a [Runner] as a parameter and the encapsulated result is a [CmdInfo::LastCommitSummary].