projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
132f32e
)
Ensure that the files array is initialized
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Mon, 11 Oct 2010 00:40:42 +0000
(20:40 -0400)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Mon, 11 Oct 2010 00:40:42 +0000
(20:40 -0400)
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
ca5ed0e
..
1930e3e
100644
(file)
--- a/
framework/Vcs/lib/Horde/Vcs/Git.php
+++ b/
framework/Vcs/lib/Horde/Vcs/Git.php
@@
-752,6
+752,7
@@
class Horde_Vcs_Log_Git extends Horde_Vcs_Log
*/
public function getHashForPath($path)
{
+ $this->_ensureInitialized();
return $this->_files[$path]['dstSha1'];
}