Default cycle_hunks_across_files to false for ]c/[c boundary navigation#414
Closed
esmuellert with Copilot wants to merge 3 commits into
Closed
Default cycle_hunks_across_files to false for ]c/[c boundary navigation#414esmuellert with Copilot wants to merge 3 commits into
cycle_hunks_across_files to false for ]c/[c boundary navigation#414esmuellert with Copilot wants to merge 3 commits into
Conversation
Co-authored-by: esmuellert <41042490+esmuellert@users.noreply.github.com>
Co-authored-by: esmuellert <41042490+esmuellert@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix cycle hunks across files setting
Default Jun 10, 2026
cycle_hunks_across_files to false for ]c/[c boundary navigation
Owner
|
@copilot what are thousand of files changed? I just need ONE word change |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
]c/[cnavigation was crossing into adjacent files at hunk boundaries by default, which changed expected per-file wrap behavior. This PR restores the default so hunk navigation stays within the current file unless cross-file cycling is explicitly enabled.Behavior change (default config)
diff.cycle_hunks_across_filesdefault fromtruetofalsein runtime config.[c/]cwrap within the same file by default.Documentation alignment
README.mdanddoc/codediff.txtto reflectcycle_hunks_across_files = false.Regression test adjustment
cycle_hunks_across_filesspec to assert default-off behavior directly (instead of forcingfalsein test setup), preserving explicit ON-path coverage.