get_git_diff

Function get_git_diff 

Source
pub fn get_git_diff(
    mode: &Mode,
    target: Option<&str>,
    dir: &str,
    config: &CommitConfig,
) -> Result<String>
Expand description

Get git diff based on the specified mode