chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90ac5d3
)
githooks: do not run syntax checks on files being deleted
author
Hans-Christoph Steiner
<hans@eds.org>
Wed, 15 Jun 2016 11:32:14 +0000
(13:32 +0200)
committer
Hans-Christoph Steiner
<hans@eds.org>
Wed, 15 Jun 2016 12:59:56 +0000
(14:59 +0200)
hooks/pre-commit
patch
|
blob
|
history
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"