diff options
author | Janak Ramakrishnan <janakr@google.com> | 2016-04-29 22:46:16 +0000 |
---|---|---|
committer | Damien Martin-Guillerez <dmarting@google.com> | 2016-05-02 09:10:14 +0000 |
commit | e9cd0f315750a4b313768165b0b80ea1e81416d5 (patch) | |
tree | 8fa3819b9cff642e2c9e29f6ef71ecca6dc863e9 /.gitattributes | |
parent | dd61520f48cb5fcc28df374e8f7c4c05f68f18a0 (diff) |
In InvocationPolicyEnforcer#enforce, instead of just checking the direct command to see if a flag policy applies, check whether the flag applies by seeing if its list of commands matches one of the commands in the hierarchy.
This avoids the tedious and brittle specification of all commands that may use a flag, while providing better filtering out of inapplicable flags.
RELNOTES: A FlagPolicy specified via the --invocation_policy flag will now match the current command if any of its commands matches any of the commands the current command inherits from, as opposed to just the current command.
--
MOS_MIGRATED_REVID=121159131
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions