◐ Shell
clean mode source ↗

set stages for `destroyed-symlinks` by AdrianDC · Pull Request #1085 · pre-commit/pre-commit-hooks

Skip to content

Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@asottile asottile changed the title fix(pre-commit-hooks): set stages for destroyed-symlinks set stages for destroyed-symlinks

Oct 5, 2024
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: Adrian DC <radian.dc@gmail.com>

asottile

apricote pushed a commit to hetznercloud/fleeting-plugin-hetzner that referenced this pull request

Oct 9, 2024

sai-rekhawar pushed a commit to sai-rekhawar/cloe-nessy-py that referenced this pull request

Jul 1, 2025