From 3a3bd0c744c6096afed2602c7ec7a8c7a81c4c17 Mon Sep 17 00:00:00 2001 From: Patrik Fimml Date: Sat, 12 Feb 2011 15:57:29 +0100 Subject: [PATCH] Fix indentation --- lib/git_tree.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/git_tree.class.php b/lib/git_tree.class.php index b13f3ab..f7a0495 100644 --- a/lib/git_tree.class.php +++ b/lib/git_tree.class.php @@ -43,8 +43,8 @@ public function _unserialize($data) $pos = strpos($data, "\0", $start); list($node->mode, $node->name) = explode(' ', substr($data, $start, $pos-$start), 2); $node->mode = intval($node->mode, 8); - $node->is_dir = !!($node->mode & 040000); - $node->is_submodule = !!($node->mode == 57344); + $node->is_dir = !!($node->mode & 040000); + $node->is_submodule = ($node->mode == 57344); $node->object = substr($data, $pos+1, 20); $start = $pos+21;