Changeset View
Changeset View
Standalone View
Standalone View
src/repository/api/ArcanistGitAPI.php
Show First 20 Lines • Show All 440 Lines • ▼ Show 20 Lines | $options = array( | ||||
// Disable external diff drivers, like graphical differs, since Arcanist | // Disable external diff drivers, like graphical differs, since Arcanist | ||||
// needs to capture the diff text. | // needs to capture the diff text. | ||||
'--no-ext-diff', | '--no-ext-diff', | ||||
// Disable textconv so we treat binary files as binary, even if they have | // Disable textconv so we treat binary files as binary, even if they have | ||||
// an alternative textual representation. TODO: Ideally, Differential | // an alternative textual representation. TODO: Ideally, Differential | ||||
// would ship up the binaries for 'arc patch' but display the textconv | // would ship up the binaries for 'arc patch' but display the textconv | ||||
// output in the visual diff. | // output in the visual diff. | ||||
'--no-textconv', | '--no-textconv', | ||||
// Provide a standard view of submodule changes; the 'log' and 'diff' | |||||
// values do not parse by the diff parser. | |||||
'--submodule=short', | |||||
); | ); | ||||
return implode(' ', $options); | return implode(' ', $options); | ||||
} | } | ||||
/** | /** | ||||
* @param the base revision | * @param the base revision | ||||
* @param head revision. If this is null, the generated diff will include the | * @param head revision. If this is null, the generated diff will include the | ||||
* working copy | * working copy | ||||
▲ Show 20 Lines • Show All 1,015 Lines • Show Last 20 Lines |