Re: [PATCH] diff: ensure consistent diff behavior with -I<regex> across output formats
From: Junio C Hamano <hidden>
Date: 2025-08-04 04:39:24
From: Junio C Hamano <hidden>
Date: 2025-08-04 04:39:24
Jeff King [off-list ref] writes:
.... It affects all of raw, name-only, name-status, and checkdiff. I know Junio said that --raw should not be affected, but I'm not sure I agree.
I no longer am sure if I agree. I do not mind a raw entry that would show different object name for preimage and postimage for a path to be omitted when --ignore-whatever is passed and the blobs compare "equal" under the specified "ignore" criteria. The behaviour sounds somewhat incoherent, but that is what the user, who passes both --raw and --ignore-whatever to the command at the same time, wants.