Made DTL_SEPARATE_SIZE and DTL_CONTEXT_SIZE dynamic. #5
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-cubicdaiya/dtl!5
Loading…
Reference in a new issue
No description provided.
Delete branch "wingunder/wingunder_dynamic_sizes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This patch replaces the DTL_SEPARATE_SIZE and DTL_CONTEXT_SIZE
constants. The API however stays backwards compatible. The user
now has the option to set the separateSize amd contextSize, when
calling composeUnifiedHunks().
eg. diff.composeUnifiedHunks(20, 5);
Can we merge this PR? I think this is useful feature.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.