Initial commit

This commit is contained in:
Riyyi
2026-08-25 21:43:02 +02:00
commit 715fdbb7c1
12 changed files with 106 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
#!/bin/sh
SCRIPT_DIR=$(CDPATH='' cd -- "$(dirname -- "$0")" && pwd)
git stash push --keep-index --quiet
"$SCRIPT_DIR/../fmt.sh"
if ! git diff --quiet; then
echo "Formatting changed staged files; commit aborted."
git checkout -- "$SCRIPT_DIR/.."
git stash pop --quiet
exit 1
fi
# "$SCRIPT_DIR/../test.sh"
git stash pop --quiet