pub fn fetch_commit_diff(
repo_path: &Path,
commit_hash: &str,
) -> Result<String, RepoError>Expand description
Fetches the diff for a single commit.
Returns the unified diff output for the commit. Large diffs are truncated
to MAX_DIFF_SIZE bytes.
ยงErrors
Returns an error if the git command fails.