mirror of
https://we.phorge.it/source/arcanist.git
synced 2025-02-02 09:58:23 +01:00
Unignore changes in .arc/
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
This commit is contained in:
parent
c8409bb5b2
commit
ae416d8788
1 changed files with 0 additions and 9 deletions
|
@ -719,15 +719,6 @@ abstract class ArcanistBaseWorkflow {
|
||||||
$untracked = $api->getUntrackedChanges();
|
$untracked = $api->getUntrackedChanges();
|
||||||
if ($this->shouldRequireCleanUntrackedFiles()) {
|
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)) {
|
if (!empty($untracked)) {
|
||||||
echo "You have untracked files in this working copy.\n\n".
|
echo "You have untracked files in this working copy.\n\n".
|
||||||
$working_copy_desc.
|
$working_copy_desc.
|
||||||
|
|
Loading…
Add table
Reference in a new issue