patch: IDEA-125412 support N lines of context in patch builder
authorNadya Zabrodina <Nadya.Zabrodina@jetbrains.com>
Wed, 7 Apr 2021 08:34:33 +0000 (11:34 +0300)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Tue, 13 Apr 2021 16:10:24 +0000 (16:10 +0000)
commit28ebc175e720d21ff2b387e778025739baae6c23
tree05c2c58b2b3e1d398daa8fff8383d8a0d9001061
parentd65f524f979417a4cbef3f90ae69b16a6b1f17b8
patch: IDEA-125412 support N lines of context in patch builder

* provide a registry key

GitOrigin-RevId: 1132a76e00527f58c43a605cb798e5866b837412
platform/platform-tests/testData/diff/patch/contextLineCount/after/1.txt [new file with mode: 0644]
platform/platform-tests/testData/diff/patch/contextLineCount/before/1.txt [new file with mode: 0644]
platform/platform-tests/testSrc/com/intellij/openapi/diff/impl/patch/PatchBuilderTest.java
platform/vcs-impl/resources/META-INF/VcsExtensions.xml
platform/vcs-impl/src/com/intellij/openapi/diff/impl/patch/TextPatchBuilder.java