main (scripts/gate_hygiene.py)

Overview · 6 steps, 1 lane

  1. steps 1–3 · Tooling: scripts
  2. step 4 · Tooling: scripts
  3. step 5 · Tooling: scripts
  4. step 6 · Tooling: scripts
program launcherprogram launcherprogram launcherprogram launcherTooling: scriptsTooling: scriptsTooling: scriptsTooling: scriptsmain1–6. main → untracked_but_covered1untracked_but_covered +5 more
All 6 steps
#callercalleewhat it doesframescall site
1mainuntracked_but_coveredList untracked paths that the configured hooks would have covered.—scripts/gate_hygiene.py:255
2untracked_but_coveredglobal_excludeParse the global exclude: regex out of a pre-commit config.—scripts/gate_hygiene.py:127
3untracked_but_covereduntracked_pathsList the paths git reports as untracked, honouring ignore rules.—scripts/gate_hygiene.py:128
4maincommit_hook_installedVersion 2 (gh#64): the hooks directory is git's answer ( rev-parse --git-path hooks ), so a linked worktree and core.hooksPath are found where git actually runs the hook from.—scripts/gate_hygiene.py:256
5main_report_unseenReport untracked files the hooks would have covered.if (line 259)scripts/gate_hygiene.py:259
6main_report_missing_hookReport that the commit-time hook is absent, and whether that is being enforced.if (line 261)scripts/gate_hygiene.py:261

Functions

7 functions

This diagram as Mermaid · PlantUML · Graphviz DOT

Quick views

7 functions, each with its quick view