diff options
Diffstat (limited to 'lib/git/remote.py')
-rw-r--r-- | lib/git/remote.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/git/remote.py b/lib/git/remote.py index 5eddfa2d..e1d0d743 100644 --- a/lib/git/remote.py +++ b/lib/git/remote.py @@ -575,7 +575,7 @@ class Remote(LazyMixin, Iterable): err_info = stderr.splitlines()[1:] # read head information - fp = open(os.path.join(self.repo.path, 'FETCH_HEAD'),'r') + fp = open(os.path.join(self.repo.git_dir, 'FETCH_HEAD'),'r') fetch_head_info = fp.readlines() fp.close() |