Skip to content

Commit

Permalink
Check for untracked files in order to fire untracked file prompt
Browse files Browse the repository at this point in the history
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
  • Loading branch information
epriestley committed Mar 5, 2015
1 parent 4e98454 commit c36b4ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/workflow/ArcanistWorkflow.php
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,7 @@ final public function requireCleanWorkingCopy() {
}

$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
Expand Down

0 comments on commit c36b4ce

Please sign in to comment.