Subject: Re: [PATCH 1/1] Exit on invalid diff status of diff_filepair

From: Jake Roggenbuck <[email-masked]>
Date: Wed, 30 Apr 2025 11:50:37 -0700

Hi all,

Has anyone gotten a chance to take a look at this simple fix?
When git is built of the main branch, it still segfaults when there is an invalid diff_filepair.

    git (main) $ make
    <make output omitted>
    git (main) $ cd ~/Repos/ECS50-3/hw3-skeleton-broken/
    hw3-skeleton-broken (main) $ ~/Build/git/git diff
    Segmentation fault (core dumped)
    hw3-skeleton-broken (main) $

Let me know if you have any feedback or suggestions.

Signed-off-by: Jake Roggenbuck <[email-masked]>