Test git hook fix

This commit is contained in:
oib
2026-03-02 15:49:57 +01:00
parent b0a5d1e945
commit 205efc0c54
6 changed files with 274 additions and 1 deletions

0
scripts/check-file-organization.sh Normal file → Executable file
View File

2
scripts/git-pre-commit-hook.sh Normal file → Executable file
View File

@@ -54,7 +54,7 @@ done
# Check for forbidden directories at root
for dir in "${ROOT_FORBIDDEN_DIRS[@]}"; do
if [[ -d "$dir" ]]; then
if [[ -d "$dir" && "$dir" != "." && "$dir" != ".." ]]; then
echo "❌ ERROR: Found directory '$dir' at root level"
echo "📁 Suggested location:"

0
scripts/move-to-right-folder.sh Normal file → Executable file
View File