mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-21 22:32:41 +01:00
Minor, stop arc upgrade from prompting for commit ranges.
This commit is contained in:
parent
d3313e3fd7
commit
6366464202
1 changed files with 5 additions and 0 deletions
|
@ -61,6 +61,11 @@ EOTEXT
|
|||
|
||||
$repository_api = ArcanistRepositoryAPI::newAPIFromWorkingCopyIdentity(
|
||||
$working_copy);
|
||||
|
||||
// Force the range to HEAD^..HEAD, which is meaningless but keeps us
|
||||
// from triggering "base" rules or other commit range resolution rules
|
||||
// that might prompt the user when we pull the working copy status.
|
||||
$repository_api->setRelativeCommit('HEAD^');
|
||||
$this->setRepositoryAPI($repository_api);
|
||||
|
||||
// Require no local changes.
|
||||
|
|
Loading…
Reference in a new issue