Skip to main content

Module output_policy

Module output_policy 

Source

Enums§

OutputPolicy
Central command output classification.

Functions§

classify
Classify a command into an OutputPolicy.
is_user_excluded
Whether command matches one of the user’s excluded_commands entries: case-insensitive, the whole command or the entry followed by a space (git matches git status, not gitk). The one matcher both the shell path (classify) and the hook rewrite entry point use (#2194).