Fix queryModuleName().
authorMichael M Slusarz <slusarz@curecanti.org>
Tue, 6 Jan 2009 19:14:47 +0000 (12:14 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 6 Jan 2009 19:14:47 +0000 (12:14 -0700)
framework/Vcs/lib/Horde/Vcs/Git.php

index 961167b..1d787b8 100644 (file)
@@ -406,7 +406,9 @@ class Horde_Vcs_File_git extends Horde_Vcs_File
      */
     public function queryModulePath()
     {
-        return $this->name;
+        return ($this->dir == '.')
+            ? $this->name
+            : $this->dir . '/' . $this->name;
     }
 
 }