summaryrefslogtreecommitdiff
path: root/git/refs
diff options
context:
space:
mode:
Diffstat (limited to 'git/refs')
-rw-r--r--git/refs/log.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/refs/log.py b/git/refs/log.py
index e94c21f0..0e977723 100644
--- a/git/refs/log.py
+++ b/git/refs/log.py
@@ -130,7 +130,7 @@ class RefLog(list, Serializable):
def _read_from_file(self):
try:
- fmap = file_contents_ro_filepath(self._path, stream=False, allow_mmap=True)
+ fmap = file_contents_ro_filepath(self._path, stream=True, allow_mmap=True)
except OSError:
# it is possible and allowed that the file doesn't exist !
return