Skip to content

Commit

Permalink
Don't use git:// URLs in pre-commit hooks (#699)
Browse files Browse the repository at this point in the history
Unauthenticated `git://` URLs are no longer supported by GitHub:

```
    fatal: remote error:
      The unauthenticated git protocol on port 9418 is no longer supported.
    Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
```

(cherry picked from commit 42a5e2a)
  • Loading branch information
mjpieters authored and webknjaz committed Jul 30, 2022
1 parent 6b29670 commit ce4c0ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Expand Up @@ -53,7 +53,7 @@ repos:
- id: flake8
exclude: "^docs/"

- repo: git://github.com/Lucas-C/pre-commit-hooks-markup
- repo: https://github.com/Lucas-C/pre-commit-hooks-markup
rev: v1.0.1
hooks:
- id: rst-linter
Expand Down
1 change: 1 addition & 0 deletions CHANGES/699.misc.rst
@@ -0,0 +1 @@
Replaced git:// URL in pre-commit hook configuration with https://

0 comments on commit ce4c0ac

Please sign in to comment.