diff options
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/Splinter/web/splinter.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/Splinter/web/splinter.js b/extensions/Splinter/web/splinter.js index 368bd74dc..52d54b82e 100644 --- a/extensions/Splinter/web/splinter.js +++ b/extensions/Splinter/web/splinter.js @@ -244,7 +244,7 @@ Splinter.Patch = { 'mg' ), HUNK_START_RE : /^@@[ \t]+-(\d+),(\d+)[ \t]+\+(\d+),(\d+)[ \t]+@@(.*)\n/mg, - HUNK_RE : /((?:[ +\\-].*(?:\n|$))*)/mg, + HUNK_RE : /((?:(?!---)[ +\\-].*(?:\n|$))*)/mg, GIT_BINARY_RE : /^diff --git a\/(\S+).*\n(?:(new|deleted) file mode \d+\n)?(?:index.*\n)?GIT binary patch\n(delta )?/mg, |