pub fn check_supported(hunk: &DiffHunk, id: &str) -> Result<()>
Check if a hunk has unsupported metadata and return an error if so.