Use binary_safe_diff from arcanist

Summary:
binary_safe_diff is needed in arcanist too. Moved it over to
arcanist. See D2915.

Test Plan: diffusion page rendered correctly on binary file.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D2916
This commit is contained in:
Jason Ge
2012-07-03 13:41:11 -07:00
parent dcf3a31944
commit 61b79b5359
2 changed files with 2 additions and 8 deletions

View File

@@ -1,6 +0,0 @@
#!/bin/sh
diff "$@"
if [ "$?" = "2" ]; then
exit 1
fi