chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
githooks: do not run syntax checks on files being deleted
[fdroidserver.git]
/
hooks
/
pre-commit
diff --git
a/hooks/pre-commit
b/hooks/pre-commit
index 0f083d00f3f397d6b50d47a86fc8829a479465f6..724a832d46a91c2c54d688fc436443d7d684028f 100755
(executable)
--- a/
hooks/pre-commit
+++ b/
hooks/pre-commit
@@
-23,6
+23,7
@@
else
RB_FILES=
for f in $files; do
+ test -e $f || continue
case $f in
*.py)
PY_FILES+=" $f"