]> khamidou — GitHub mirrors - arcanist.git/commit
Use phutil_passthru() in "arc commit" instead of passthru().
authorepriestley <git@epriestley.com>
Wed, 18 May 2011 17:32:00 +0000 (10:32 -0700)
committerepriestley <git@epriestley.com>
Thu, 19 May 2011 17:19:01 +0000 (10:19 -0700)
commit292c995d573e236c61099235cc3af31527c60f6f
treef683db11f45caf8be4ce7406f711b2478cdc9b77
parent399c505f1a8e984319be5dd2a2004010ee5f0182
Use phutil_passthru() in "arc commit" instead of passthru().

Summary:
passthru() doesn't show up on --trace, and one time a while ago someone had an
issue which was harder than necessary to debug because the command wasn't
avialable in the log. Use the logged version.

Also fix a locale issue I ran into on my local machine, with "en_US.utf8" not
being a valid locale.

Test Plan:
Created an SVN repo and used "arc commit" to make commits against it.

Reviewed By: jungejason
Reviewers: jungejason, tuomaspelkonen, aran
CC: aran, epriestley, jungejason
Differential Revision: 306
src/workflow/commit/ArcanistCommitWorkflow.php
src/workflow/commit/__init__.php