Fix for older versions of git
Fix for older versions of git

--- a/include/gitutil.git_ls_tree.php
+++ b/include/gitutil.git_ls_tree.php
@@ -16,7 +16,7 @@
 	if ($nullterm)
 		$cmd .= " -z";
 	if ($recurse)
-		$cmd .= " -r -t --full-tree";
+		$cmd .= " -r -t --full-name";
 	return git_exec($proj, $cmd . " " . $hash);
 }
 

comments