diff --git a/Hooks/delegator.sh b/Hooks/delegator.sh index 2a7b804..ef15558 100644 --- a/Hooks/delegator.sh +++ b/Hooks/delegator.sh @@ -1,5 +1,11 @@ #!/bin/bash +git diff --cached --name-only | while read FILE; do +if [[ ! -f "$FILE" ]]; then + exit 0 +fi +done + . ${rootpath}/Build/Hooks/logging.sh . ${rootpath}/Build/Hooks/syntax.sh . ${rootpath}/Build/Hooks/filename.sh