module Git::Parsers::Diff

Parser for git diff output in various formats

Handles parsing of –numstat, –shortstat, –dirstat, –raw, and –patch output. This parser is used by stash show, diff, show, and log commands.

@note Combined/merge diffs (e.g., from ‘git diff –cc` or `git show <merge>`) are not

supported. These have a different format with multiple +/- columns per parent.

## Design Note: Namespace Organization

This parser creates and returns {Git::DiffResult} and {Git::DiffFile*Info} objects, which live at the top-level ‘Git::` namespace rather than within `Git::Parsers::`. This is intentional:

Keeping Info/Result classes at ‘Git::` improves discoverability and correctly reflects their role as public types rather than parser internals.

@api private