Skip to main content

load_diff_from_git

Function load_diff_from_git 

Source
pub fn load_diff_from_git(
    base: &str,
    head: &str,
    repo_root: &Path,
) -> Result<String, DiffError>
Expand description

Load unified diff text from git for a base..head range.

This is an adapter boundary for subprocess interaction.