]> khamidou — GitHub mirrors - arcanist.git/commit
Allow defining aliases in .arcconfig.
authorBen Gertzfield <beng@fb.com>
Tue, 10 Apr 2012 18:29:25 +0000 (11:29 -0700)
committerBen Gertzfield <beng@fb.com>
Tue, 10 Apr 2012 19:42:13 +0000 (12:42 -0700)
commit2c02e79df48ce0a44ab754f641aaadacb74a9178
tree5c3e1d6a5a6da6ef136831186fdde98d5220cf4d
parent14d49d25658f15e8e6ac94bbb7533565135175dc
Allow defining aliases in .arcconfig.

Summary:
For Objective-C repositories, we want to provide aliases to
arc diff --amend-autofixes by default.

This adds the ability to define aliases in .arcconfig (overridden
by any specified in the user config, of course).

Test Plan:
Tested defining alias with nothing in .arcconfig, with
an alias in .arcconfig.  Tested arc alias outside of working
repository.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran
Differential Revision: https://secure.phabricator.com/D2191
scripts/arcanist.php
src/workflow/alias/ArcanistAliasWorkflow.php
src/workflow/alias/__init__.php
src/workflow/shell-complete/ArcanistShellCompleteWorkflow.php