Changeset - be781af446af
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 13 years ago 2012-11-29 21:35:59
marcin@python-works.com
bring back cached Repo() instance due to some other issues it generated
1 file changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
rhodecode/lib/vcs/backends/git/repository.py
Show inline comments
 
@@ -58,12 +58,12 @@ class GitRepository(BaseRepository):
 
        self.bare = repo.bare
 

	
 
        self._config_files = [
 
            bare and abspath(self.path, 'config') or abspath(self.path, '.git',
 
                'config'),
 
            bare and abspath(self.path, 'config')
 
                     or abspath(self.path, '.git', 'config'),
 
            abspath(get_user_home(), '.gitconfig'),
 
        ]
 

	
 
    @property
 
    @LazyProperty
 
    def _repo(self):
 
        repo = Repo(self.path)
 
        #temporary set that to now at later we will move it to constructor
0 comments (0 inline, 0 general)