exec git init
exec lefthook install
exec git config user.email "you@example.com"
exec git config user.name "Your Name"
exec git add -A
exec git commit -m 'must show debug logs'
stderr 'injected'
stdout '[lefthook]'

-- lefthook.yml --
lefthook: |
  echo 'injected'
  lefthook

output:
  - execution_out

pre-commit:
  jobs:
    - run: echo {all_files}
      glob: "*.txt"

-- file.txt --
sometext

-- file.js --
somecode
