pub fn attach_show_context(
repo: &Repository,
report: &mut DiffReport,
state: &State,
path_filters: &[String],
) -> Result<()>Expand description
Fill report.context and report.broader_guidance from one Context
attachment snapshot.
Selection:
- changed report paths (including a rename
old_path) when present; - otherwise the requested
path_filterson a clean / filtered-empty tree, sodiff --context -- lib.rsstill rides; - otherwise every active file annotation (unfiltered clean tree).