add a version controlled git pre-commit hook

This commit is contained in:
Nadja Reitzenstein 2022-05-05 15:52:03 +02:00
parent 2d9f30b55b
commit 212f657289
1 changed files with 3 additions and 0 deletions

3
tools/git-pre-commit-hook Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
cargo fmt --all