Skip to content

Conversation

@cruessler
Copy link
Contributor

Currently, the diff algorithm used for diffing while running blame is hard-coded to Histogram in blame::file() (or, more specifically, in blob_changes()). With this PR, diff_algorithm becomes an option to be provided to blame::file(). For gix blame, the value of diff.algorithm as returned by Repository::diff_algorithm() is used.

  • feat!: add diff_algorithm to blame::file()
  • Adapt to changes in gix-blame

Copy link
Member

@Byron Byron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That makes sense, thanks a lot!

@Byron Byron merged commit dce127e into GitoxideLabs:main Mar 17, 2025
21 checks passed
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