Page MenuHomePhabricator

D21169.diff
No OneTemporary

D21169.diff

diff --git a/src/applications/differential/parser/DifferentialHunkParser.php b/src/applications/differential/parser/DifferentialHunkParser.php
--- a/src/applications/differential/parser/DifferentialHunkParser.php
+++ b/src/applications/differential/parser/DifferentialHunkParser.php
@@ -456,6 +456,11 @@
$corpus = array();
foreach ($lines as $l) {
+ if ($l === null) {
+ $corpus[] = "\n";
+ continue;
+ }
+
if ($l['type'] != '\\') {
if ($l['text'] === null) {
// There's no text on this side of the diff, but insert a placeholder

File Metadata

Mime Type
text/plain
Expires
Wed, Mar 5, 3:26 AM (1 d, 9 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7223460
Default Alt Text
D21169.diff (594 B)

Event Timeline