From f56e09d387b7eab4096fb402b0d631c70236a22e Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Tue, 16 Oct 2018 15:10:44 +0200 Subject: [PATCH] docs: Update configuration example `sha` was renamed to `rev` in pre-commit 1.9.0. This also changes URLs to use https:// instead of git://, which works better behind a firewall. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3de61de..cf44f5f 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ # Rust hooks for pre-commit -[Rust](https://www.rust-lang.org) tools package for [pre-commit](http://pre-commit.com). +[Rust](https://www.rust-lang.org) tools package for [pre-commit](https://pre-commit.com). ## Using rust tools with pre-commit ```yaml -- repo: git://github.com/doublify/pre-commit-rust - sha: master +- repo: https://github.com/doublify/pre-commit-rust + rev: master hooks: - id: fmt ```