chiark / gitweb /
git-cache-proxy: housekeeping: Add missing space to message
[chiark-utils.git] / scripts / git-cache-proxy
index d12bdb3a3c1c7de8c30d9a14a46883a7c52b0942..eafbb8af8e513a104e5a8d6d406be540cb0b38a6 100755 (executable)
@@ -2,6 +2,12 @@
 #
 # git caching proxy
 
+# Suitable only for exposing to semi-trusted clients: clients are not
+# supposed to be able to take over the server.  However, clients can
+# probably deny service to each other because the current
+# implementation is not very good at handling various out-of-course
+# situations (notably, clients which are too slow).
+
 # usage: run it on some port, and then clone or fetch
 #  "git://<realhost>:<realport>/<real-git-url>[ <options>]"
 # where <real-git-url> is http://<host>/... or git://<host>/...
@@ -407,7 +413,7 @@ sub housekeeping () {
            if (stat $dir) {
                $ok = 0;
                logm 'warning', "housekeeping: $dir: problems with".
-                   "deletion prevent cleanup:";
+                   " deletion prevent cleanup:";
                foreach my $err (@$errs) {
                    logm 'info', "problem deleting: $err->[0]: $err->[1]";
                }