set stages for `destroyed-symlinks` by AdrianDC · Pull Request #1085 · pre-commit/pre-commit-hooks
-
-
Notifications
You must be signed in to change notification settings - Fork 792
Conversation
asottile
changed the title
fix(pre-commit-hooks): set stages for
set stages for destroyed-symlinksdestroyed-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: Adrian DC <radian.dc@gmail.com>
apricote pushed a commit to hetznercloud/fleeting-plugin-hetzner that referenced this pull request
sai-rekhawar pushed a commit to sai-rekhawar/cloe-nessy-py that referenced this pull request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters