Blob Blame History Raw
--- sitaramc-gitolite-4c1e4b2/src/gitolite.pm.orig	2012-02-27 21:59:09.699580170 +0100
+++ sitaramc-gitolite-4c1e4b2/src/gitolite.pm	2012-02-27 21:59:28.802476445 +0100
@@ -482,7 +482,8 @@
         system("git config --remove-section gitweb 2>/dev/null");
     }
 
-    return ($desc or can_read($repo, 'gitweb'));
+    my $cr = can_read($repo, 'gitweb');
+    return ($desc or $cr);
         # this return value is used by the caller to write to projects.list
 }