Don't read description repeatedly
Don't read description repeatedly

--- a/include/git/Project.class.php
+++ b/include/git/Project.class.php
@@ -457,6 +457,7 @@
 			if (file_exists($this->GetPath() . '/description')) {
 				$this->description = file_get_contents($this->GetPath() . '/description');
 			}
+			$this->readDescription = true;
 		}
 		
 		if (($trim > 0) && (strlen($this->description) > $trim)) {

comments