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

Jake Roggenbuck
2025-04-30T18:53:29Z

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 <jakeroggenbuck2@gmail.com>