]> khamidou — GitHub mirrors - arcanist.git/commit
Call clearstatcache() after changing ~/.arcrc permissions
authorepriestley <git@epriestley.com>
Thu, 14 Jun 2012 19:30:21 +0000 (12:30 -0700)
committerepriestley <git@epriestley.com>
Thu, 14 Jun 2012 19:30:21 +0000 (12:30 -0700)
commit4448bd09c770916fcb27d37df958823a8a4ee1c0
tree9a886cc966717e020b72338eac0f9da3f72f2a5d
parent22ad85dad76983be3d3c21c4f508439c3cba31a7
Call clearstatcache() after changing ~/.arcrc permissions

Summary: Otherwise we'll get a cached result from fileperms() if we end up here again.

Test Plan: `chmod 644 ~/.arcrc ; arc help` no longer double prompts when run from outside of a .arcconfig working copy.

Reviewers: csilvers

Reviewed By: csilvers

CC: aran
Maniphest Tasks: T1359

Differential Revision: https://secure.phabricator.com/D2752
src/workflow/ArcanistBaseWorkflow.php