]> khamidou — GitHub mirrors - arcanist.git/commit
Allow specifying runtime configuration with --set-config key=value
authorTal Shiri <eiopaa@gmail.com>
Mon, 16 Jun 2014 22:28:04 +0000 (15:28 -0700)
committerepriestley <git@epriestley.com>
Mon, 16 Jun 2014 22:28:33 +0000 (15:28 -0700)
commit5a02012706b59a74cf7b2e76ee8b80563a4f1e0f
treecba80d125acdc62991e04bdba70760befcacc0e0
parent2ccf65353cd1160b7ceb36ce36609040db06f7db
Allow specifying runtime configuration with --set-config key=value

Summary:
This is useful for wrapper scripts that want to customize arcanist's behavior without affecting the global configuration.
This can be implemented with arcanist_configuration entry in .arcconfig, however it is currently limited to
per-project settings, and this feature makes writing wrapper scripts a little easier.

Test Plan: arc diff --set-config editor=vim (yeah yeah, crappy test case)

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D9442
scripts/arcanist.php
src/configuration/ArcanistConfigurationManager.php
src/workflow/ArcanistBaseWorkflow.php
src/workflow/ArcanistHelpWorkflow.php