mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-22 14:52:40 +01:00
Throw properly if there are uncommitted changes under Git
Summary: This was accidentally disabled with some Mercurial changes that allowed dirty working copies. Test Plan: Ran `arc diff` with staged changes. Reviewers: nh Reviewed By: nh CC: aran Differential Revision: https://secure.phabricator.com/D3165
This commit is contained in:
parent
5d6e2a4e08
commit
fae2adba9e
1 changed files with 2 additions and 0 deletions
|
@ -578,6 +578,8 @@ EOTEXT
|
|||
|
||||
$repository_api->setIncludeDirectoryStateInDiffs(true);
|
||||
$this->haveUncommittedChanges = true;
|
||||
} else {
|
||||
throw $ex;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue