]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Unignore changes in .arc/
authorvrana <jakubv@fb.com>
Tue, 6 Nov 2012 07:47:14 +0000 (23:47 -0800)
committervrana <jakubv@fb.com>
Wed, 7 Nov 2012 04:59:31 +0000 (20:59 -0800)
Summary:
It's inside `.git/` for some time.
It also ignored changes in `test.arc/`.

Test Plan: None.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin
Differential Revision: https://secure.phabricator.com/D3900

src/workflow/ArcanistBaseWorkflow.php

index 97d93c934705b1c7dd5ead63f841773b122f00bd..b31b2633093dc856e9b6ba77ecff9f42f1c6be57 100644 (file)
@@ -719,15 +719,6 @@ abstract class ArcanistBaseWorkflow {
     $untracked = $api->getUntrackedChanges();
     if ($this->shouldRequireCleanUntrackedFiles()) {
 
-      // Exempt ".arc/" scratch files from this warning so that things work
-      // a little more smoothly if no one has gotten around to adding .arc to
-      // the ignore list.
-      foreach ($untracked as $key => $path) {
-        if (preg_match('@\.arc/@', $path)) {
-          unset($untracked[$key]);
-        }
-      }
-
       if (!empty($untracked)) {
         echo "You have untracked files in this working copy.\n\n".
              $working_copy_desc.