From 212f657289e8bc6e174cbd907a494957ad0bf673 Mon Sep 17 00:00:00 2001 From: Nadja Reitzenstein Date: Thu, 5 May 2022 15:52:03 +0200 Subject: [PATCH] add a version controlled git pre-commit hook --- tools/git-pre-commit-hook | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 tools/git-pre-commit-hook diff --git a/tools/git-pre-commit-hook b/tools/git-pre-commit-hook new file mode 100755 index 0000000..246a0af --- /dev/null +++ b/tools/git-pre-commit-hook @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +cargo fmt --all