1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-10 00:42:40 +01:00

Check for untracked files in order to fire untracked file prompt

Summary: Fixes T7465. I think I just missed this when untangling the old logic.

Test Plan: Ran `arc diff` with //only// untrakced files, saw warning.

Reviewers: btrahan, chad

Reviewed By: chad

Subscribers: epriestley

Maniphest Tasks: T7465

Differential Revision: https://secure.phabricator.com/D11990
This commit is contained in:
epriestley 2015-03-05 14:44:59 -08:00
parent 4e98454840
commit c36b4ceb18

View file

@ -881,7 +881,7 @@ abstract class ArcanistWorkflow extends Phobject {
}
$should_commit = false;
if ($unstaged || $uncommitted) {
if ($untracked || $unstaged || $uncommitted) {
// NOTE: We're running this because it builds a cache and can take a
// perceptible amount of time to arrive at an answer, but we don't want