Skip to content

fix(blockForDiffEquality):does not handle when diff is empty but file is different#239

Merged
knowbased merged 2 commits intodevelopfrom
fix/import-diff
Nov 13, 2025
Merged

fix(blockForDiffEquality):does not handle when diff is empty but file is different#239
knowbased merged 2 commits intodevelopfrom
fix/import-diff

Conversation

@knowbased
Copy link
Collaborator

When importing diffs from a merge request, files with diffs that are too large end up with an empty diffString.
In the blockForDiffEquality block, only the diffString content and size are compared. As a result, two large files (both having empty diffString values) are incorrectly considered identical.

@knowbased knowbased marked this pull request as ready for review October 27, 2025 13:10
Co-authored-by: Benoit Verhaeghe <benoit@badetitou.fr>
@knowbased knowbased requested a review from badetitou November 13, 2025 08:15
@knowbased knowbased merged commit f9ecff9 into develop Nov 13, 2025
3 checks passed
@knowbased knowbased deleted the fix/import-diff branch November 13, 2025 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments