Page MenuHomePhabricator

Failing to parse patch with binary delta
Open, WishlistPublic

Description

https://github.com/facebook/hhvm/pull/3805.patch has as part of it:

diff --git a/hphp/test/slow/object_property/invalidWith__get.php.expectf b/hphp/test/slow/object_property/invalidWith__get.php.expectf
index 033c3ac88947362c4227a3ae44d556d5d2665ef0..0dd4757a6bbe6cd99b57f092f3a5e69a4158fce3 100644
GIT binary patch
delta 21
ccmey(*vd4agxfi>Bsn87DJNASZDMH~09UpM8~^|S

delta 11
ScmZo=`pr0@gwbtceH#E7tpsHN

And when parsing it I'm getting Expected 'literal NNNN' to start git binary patch.

Your code looks like it isn't happy with the word delta and instead wants only literal.