pub fn split_diff_by_file(diff: &str) -> Vec<(String, String)>
Split a combined diff string into (path, diff) pairs, one per file. Handles both diff --git headers and legacy --- a/ headers.
diff --git
--- a/