code: def diff(ctx, branch):
      
      diff = GitDiffReporter(branch)
      regions = diff.changed_intervals()
      _report_from_regions(regions, ctx.obj, file_factory=diff.old_file)
docs: Determine which tests intersect a git diff.