From 6f28fa8d7e5324c6fd3e5a069a63d3ead9d94fdf Mon Sep 17 00:00:00 2001 From: Qrius Date: Thu, 26 Sep 2024 07:29:24 +0200 Subject: Rename pre-commit->post-commit --- bin/pre-commit | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100755 bin/pre-commit (limited to 'bin/pre-commit') diff --git a/bin/pre-commit b/bin/pre-commit deleted file mode 100755 index b68ba3d..0000000 --- a/bin/pre-commit +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -LOCK_FILE=".git/.amend-lock" -if [ -f "$LOCK_FILE" ]; then - rm "$LOCK_FILE" - exit 0 -fi -touch "$LOCK_FILE" - -export GIT_COMMITTER_NAME="Qrius" -export GIT_COMMITTER_EMAIL="Qrius@quirio.net" -export GIT_AUTHOR_NAME="Qrius" -export GIT_AUTHOR_EMAIL="Qrius@quirio.net" - -echo "Doing commit amend" -git commit --amend --no-edit --author="$GIT_AUTHOR_NAME <$GIT_AUTHOR_EMAIL>" -- cgit v1.2.3