Made DTL_SEPARATE_SIZE and DTL_CONTEXT_SIZE dynamic. #5

Open
wingunder wants to merge 1 commit from wingunder/wingunder_dynamic_sizes into master
wingunder commented 2019-10-11 15:50:25 -05:00 (Migrated from github.com)

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);

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);
yohooyohoo commented 2022-07-12 13:21:26 -05:00 (Migrated from github.com)

Can we merge this PR? I think this is useful feature.

Can we merge this PR? I think this is useful feature.
This pull request is broken due to missing fork information.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'wingunder/wingunder_dynamic_sizes:wingunder/wingunder_dynamic_sizes'
git switch 'wingunder/wingunder_dynamic_sizes'

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.

git switch 'master'
git merge --no-ff 'wingunder/wingunder_dynamic_sizes'
git switch 'wingunder/wingunder_dynamic_sizes'
git rebase 'master'
git switch 'master'
git merge --ff-only 'wingunder/wingunder_dynamic_sizes'
git switch 'wingunder/wingunder_dynamic_sizes'
git rebase 'master'
git switch 'master'
git merge --no-ff 'wingunder/wingunder_dynamic_sizes'
git switch 'master'
git merge --squash 'wingunder/wingunder_dynamic_sizes'
git switch 'master'
git merge --ff-only 'wingunder/wingunder_dynamic_sizes'
git switch 'master'
git merge 'wingunder/wingunder_dynamic_sizes'
git push origin 'master'
Sign in to join this conversation.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-cubicdaiya/dtl!5
No description provided.