]> khamidou — GitHub mirrors - arcanist.git/commit
[Arcanist] move scratch directory into the vcs metadata directory
authordschleimer <dschleimer@fb.com>
Tue, 12 Jun 2012 19:39:15 +0000 (12:39 -0700)
committerdschleimer <dschleimer@fb.com>
Tue, 12 Jun 2012 19:39:15 +0000 (12:39 -0700)
commit1100e8768a9cbb2caa1ddb2545b119e4b5b86344
tree0afc4447c7f655b6be6f94147e21ecdcabf628c7
parent6d98ac0e3d4d0b7a3fe2ca435609683065b5e286
[Arcanist] move scratch directory into the vcs metadata directory

Summary:
Using .arc as the scratch and per-repository configuration directory
has some unfortunate consequenses in the real world.  Among other
things, people forget to .gitignore it so it gets checked in.

Test Plan:
the only thing that seems to use this is the relative commit setting
for git.  This diff consists of 2 commits, one for the .gitignore and
one for everything else.

Comment out the portion of my .git/config that defines the upstream
for the branch.  Run arc diff --only with HEAD^ in
.arc/default-relative-commit.  See that .gitignore is not included in
the resultant diff, that .arc no longer exists, and that .git/arc
exists and has HEAD^ in .git/arc/default-relative-commit.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin
Maniphest Tasks: T1233

Differential Revision: https://secure.phabricator.com/D2725
.gitignore
src/repository/api/ArcanistGitAPI.php
src/repository/api/ArcanistMercurialAPI.php
src/repository/api/ArcanistRepositoryAPI.php
src/repository/api/ArcanistSubversionAPI.php