Skip to content
Commit c7d1e85f authored by Adrian DC's avatar Adrian DC Committed by Anthony Sottile
Browse files

set stages for `destroyed-symlinks`



The 'destroyed-symlinks' hook runs upon 'commit-msg' hook,
however when used in 'git submodules', repository scope breaks

> pre_commit_hooks.util.CalledProcessError: (('git', 'status',
> '--porcelain=v2', '-z', '--', '.../COMMIT_EDITMSG'), 0, 128, '',
> b"fatal: .../COMMIT_EDITMSG: '...' is outside repository at '...'\n")
---

Signed-off-by: default avatarAdrian DC <radian.dc@gmail.com>
parent 5b5b46dc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment