projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb5fdfe
)
Fix queryModuleName().
author
Michael M Slusarz
<slusarz@curecanti.org>
Tue, 6 Jan 2009 19:14:47 +0000
(12:14 -0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Tue, 6 Jan 2009 19:14:47 +0000
(12:14 -0700)
framework/Vcs/lib/Horde/Vcs/Git.php
patch
|
blob
|
history
diff --git
a/framework/Vcs/lib/Horde/Vcs/Git.php
b/framework/Vcs/lib/Horde/Vcs/Git.php
index
961167b
..
1d787b8
100644
(file)
--- 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;
}
}