class Overcommit::MessageProcessor

Utility class that encapsulates the handling of hook messages and whether they affect lines the user has modified or not.

This class exposes an endpoint that extracts an appropriate hook/status output tuple from an array of {Overcommit::Hook::Message}s, respecting the configuration settings for the given hook.