Page MenuHomePhabricator

Write ARCANIST into the environment while running arc
ClosedPublic

Authored by epriestley on Oct 10 2013, 1:14 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 18, 3:32 AM
Unknown Object (File)
Thu, Nov 14, 4:02 AM
Unknown Object (File)
Wed, Nov 13, 6:28 PM
Unknown Object (File)
Sun, Nov 10, 1:33 AM
Unknown Object (File)
Oct 21 2024, 8:28 PM
Unknown Object (File)
Oct 19 2024, 8:56 PM
Unknown Object (File)
Oct 19 2024, 8:51 PM
Unknown Object (File)
Oct 19 2024, 8:50 PM
Subscribers

Details

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.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped