From 262ced54a8bcaf4817eed9485f3616c56d7d119b Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Tue, 6 Jan 2009 12:14:47 -0700 Subject: [PATCH] Fix queryModuleName(). --- framework/Vcs/lib/Horde/Vcs/Git.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/framework/Vcs/lib/Horde/Vcs/Git.php b/framework/Vcs/lib/Horde/Vcs/Git.php index 961167b17..1d787b8a9 100644 --- a/framework/Vcs/lib/Horde/Vcs/Git.php +++ b/framework/Vcs/lib/Horde/Vcs/Git.php @@ -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; } } -- 2.11.0