aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2012-04-17 19:36:11 +0200
committerChristian Weiske <cweiske@cweiske.de>2012-04-17 19:36:11 +0200
commit8406133d01bfc5fc6c5ed95735e45d7a4adfbb41 (patch)
tree7fd5c83483b572c0fefebdf916a56f397f242bc9 /src
parent6e394a68efca97003cebb92934898f165a2f67bc (diff)
downloadphorkie-8406133d01bfc5fc6c5ed95735e45d7a4adfbb41.tar.gz
phorkie-8406133d01bfc5fc6c5ed95735e45d7a4adfbb41.zip
do not show tools when looking at revision
Diffstat (limited to 'src')
-rw-r--r--src/phorkie/File.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/phorkie/File.php b/src/phorkie/File.php
index 3c6c56d..bc0950f 100644
--- a/src/phorkie/File.php
+++ b/src/phorkie/File.php
@@ -123,6 +123,10 @@ class File
*/
public function getToolInfos()
{
+ if ($this->repo->hash !== null) {
+ return array();
+ }
+
$tm = new Tool_Manager();
return $tm->getSuitable($this);
}