diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2011-06-08 11:39:20 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2011-06-08 11:43:06 +0200 |
commit | 095013f9b8f7cbdbcbeda215c469be3da9e7d2b3 (patch) | |
tree | dd076d1c02ea0e4b61a258bbb3bb992d50cbdd90 /git/refs/log.py | |
parent | 74b13c58345d7a8225bbffdfe4d845bb1e703692 (diff) | |
download | gitpython-095013f9b8f7cbdbcbeda215c469be3da9e7d2b3.tar.gz |
Fixed critical issue that would cause a string to be passed to methods that expect a stream
Diffstat (limited to 'git/refs/log.py')
-rw-r--r-- | git/refs/log.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/refs/log.py b/git/refs/log.py index 562c6caa..a11ad095 100644 --- a/git/refs/log.py +++ b/git/refs/log.py @@ -127,7 +127,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 |