-
Notifications
You must be signed in to change notification settings - Fork 160
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
CM6: Several conflict gutter markers placed on the same line #700
Comments
There does seem to be a regression here compared to CM5 version. See this example diffing the files in ui-test/data/merge_test1: Notice the extra arrow on the base version on line 5. You can also see the same for CM6 here: |
Yes, but it is not a bug in CM6 but a bug in how the chunks are calculated as per my comments above. |
Of course it still should be fixed, which may be best approached by writing a test case, but it may require more thought/context to understand why the chunking algorithm sometimes leads to duplicate chunks; or we could just add a simple workaround of de-duplicating them without worrying about the algorithm being occasionally wrong. |
To clarify, I am using CM5/CM6 as a shorthand for "current stable release" vs "current RC". |
(and while there are for sure some bugs in the current stable version's mergeview chunking algorithm, the one I point out above is a new bug in the RC version) |
When trying to run example6, the following issue has been observed in the merge editor: several conflict gutter markers are produced at the same line (case of line 6), not placed exactly at the same location.
The text was updated successfully, but these errors were encountered: