mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-25 16:22:42 +01:00
Don't use absolute path in ArcanistDiffUtils
Summary: Improves Windows compatibility. Test Plan: Ran failing unit test on Windows. Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D5344
This commit is contained in:
parent
e0702d17c2
commit
337f7f83ea
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ final class ArcanistDiffUtils {
|
||||||
Filesystem::writeFile($file_new, (string)$new."\n");
|
Filesystem::writeFile($file_new, (string)$new."\n");
|
||||||
|
|
||||||
list($err, $stdout) = exec_manual(
|
list($err, $stdout) = exec_manual(
|
||||||
'/usr/bin/diff %C -U %s %s %s',
|
'diff %C -U %s %s %s',
|
||||||
$diff_options,
|
$diff_options,
|
||||||
$context_lines,
|
$context_lines,
|
||||||
$file_old,
|
$file_old,
|
||||||
|
|
Loading…
Reference in a new issue