Cache blob size
[gitphp.git] / include / git / blob / Blob.class.php
blob:a/include/git/blob/Blob.class.php -> blob:b/include/git/blob/Blob.class.php
--- a/include/git/blob/Blob.class.php
+++ b/include/git/blob/Blob.class.php
@@ -237,7 +237,7 @@
 		if (!$this->dataEncoded)
 			$this->EncodeData();
 
-		$properties = array('data', 'dataRead', 'dataEncoded', 'binary');
+		$properties = array('data', 'dataRead', 'dataEncoded', 'binary', 'size');
 
 		return array_merge($properties, parent::__sleep());
 	}

comments