Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update go-diff package #386

Closed
wants to merge 1 commit into from
Closed

Conversation

ffluk3
Copy link
Contributor

@ffluk3 ffluk3 commented Aug 24, 2023

Resolves #351, where the tool would throw index out of range errors for sufficiently large source code diffs. The downstream library was recently updated to allow for significantly larger diff max sizes, as discussed in the associated issue.

@jazanne
Copy link
Contributor

jazanne commented Aug 24, 2023

hi @ffluk3, this version bump doesn't seem to contain to the fix here sergi/go-diff#136 since a new tag hasn't been cut since it was merged.

@ffluk3
Copy link
Contributor Author

ffluk3 commented Aug 24, 2023

Ah I see. So the original issue was fixed: sergi/go-diff#89. However, there was a small reported regression as a result of the fix. CLRF files seem to have issue still and the version needs to be bumped for that.

Resolves launchdarkly#351, where the tool would throw index out of range errors for
sufficiently large source code diffs. The downstream library was
recently updated to allow for significantly larger diff max sizes, as
discussed in the associated issue.
@ffluk3
Copy link
Contributor Author

ffluk3 commented Jan 23, 2024

@jazanne I've updated this PR to use the commit hash-based version that folds in the fix.

@jazanne
Copy link
Contributor

jazanne commented Jan 24, 2024

closing in favor of #425

thanks for your help on this one @ffluk3!

@jazanne jazanne closed this Jan 24, 2024
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.

Extinctions scan fails for large file diffs
2 participants