Skip to content

broken pre-commit hook: suspicious_patterns.sh deleted in 2.4.0 sync #695

@sublimator

Description

@sublimator

Problem

The .githooks/pre-commit hook references suspicious_patterns.sh, which was deleted in the 2.4.0 sync (PR #692).

This causes every commit to fail with:

.githooks/pre-commit: line 9: .../suspicious_patterns.sh: No such file or directory

Workaround

git config --local --unset core.hooksPath

Fix Options

  1. Delete .githooks/pre-commit (and .githooks/ if empty)
  2. Or restore/replace suspicious_patterns.sh if it's still needed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions