1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-12-22 21:40:54 +01:00
phorge-arcanist/scripts
epriestley 79be59863e Write ARCANIST into the environment while running arc
Summary:
Addresses a request to let Git commit hooks react differently when run via `arc`. While executing an `arc` command, write ARCANIST into the environment.

(I wrote the actual command as the value since it seemed like it could plausibly be more useful than `true` or `1`.)

Test Plan: Added `pre-commit` to `.git/hooks` which did `echo $ARCANIST`, verified the envvar was accessible when running via arc.

Reviewers: btrahan, frgtn

Reviewed By: frgtn

CC: aran

Differential Revision: https://secure.phabricator.com/D7281
2013-10-10 06:18:37 -07:00
..
hgdaemon Delete license headers from files 2012-11-05 11:16:24 -08:00
lib Remove spurious +x from arcanist 2013-10-05 05:20:05 -07:00
repository Use binary safe diff in arc diff 2012-07-03 13:33:28 -07:00
__init_script__.php Pluralize add files questions 2013-09-14 08:06:50 -07:00
arcanist.php Write ARCANIST into the environment while running arc 2013-10-10 06:18:37 -07:00
breakout.py Use /usr/bin/env python 2012-09-06 19:13:57 -07:00
php_extension_classes.txt List all DOM extension classes as extension classes for static analysis purposes 2013-09-05 17:28:19 -07:00
php_extension_functions.txt List the openssl functions as extension functions for lint 2013-04-04 16:17:19 -07:00
phutil_rebuild_map.php Delete license headers from files 2012-11-05 11:16:24 -08:00
phutil_symbols.php Find needed classes in catch, instanceof and newv() 2013-06-06 07:25:08 -07:00
update_compat_info.php Update PHP compat info 2013-05-22 11:36:41 -07:00