class Overcommit::HookContext::Diff

Simulates a pre-commit context based on the diff with another git ref.

This results in pre-commit hooks running against the changes between the current and another ref, which is useful for automated CI scripts.