]> khamidou — GitHub mirrors - arcanist.git/commit
Use binary safe diff in arc diff
authorJason Ge <jungejason@fb.com>
Tue, 3 Jul 2012 20:25:49 +0000 (13:25 -0700)
committerJason Ge <jungejason@fb.com>
Tue, 3 Jul 2012 20:33:28 +0000 (13:33 -0700)
commitf9415e37d09cbada4084f64f6a5fbbfc716a2a0f
tree9791cf425e08f2058febb20d7e1b7ed660db6fc6
parent088091ca409492cfcf15a6995e062fe8d91b1bd4
Use binary safe diff in arc diff

Summary: Otherwise svn diff fails when the file is binary but the "svn:mime-type = application/x-shellscript" is missing in it.

Test Plan: arc diff succeeded against deleting a binary file which doesn't have svn:mime-type = application/x-shellscript.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin
Differential Revision: https://secure.phabricator.com/D2915
scripts/repository/binary_safe_diff.sh [new file with mode: 0755]
src/repository/api/ArcanistSubversionAPI.php