mirror of
https://github.com/Karaka-Management/Build.git
synced 2026-02-10 00:18:40 +00:00
Ignore deleted files
This commit is contained in:
parent
bd9fc18145
commit
9dab7232f3
|
|
@ -1,5 +1,11 @@
|
||||||
#!/bin/bash
|
#!/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/logging.sh
|
||||||
. ${rootpath}/Build/Hooks/syntax.sh
|
. ${rootpath}/Build/Hooks/syntax.sh
|
||||||
. ${rootpath}/Build/Hooks/filename.sh
|
. ${rootpath}/Build/Hooks/filename.sh
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user