Skip to content

Commit

Permalink
Add note about performance, update NEWS.
Browse files Browse the repository at this point in the history
  • Loading branch information
jelmer committed Dec 3, 2015
1 parent 5e9d957 commit 826d050
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@

* Fix inconsistent handling of trailing slashes for DictRefsContainer. (#383)

* Add hack to support thin packs duing fetch(), albeit while requiring the
entire pack file to be loaded into memory. (jsbain)

CHANGES

* This will be the last release to support Python 2.6.
Expand Down
2 changes: 2 additions & 0 deletions dulwich/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,8 @@ def fetch(self, path, target, determine_wants=None, progress=None):
if determine_wants is None:
determine_wants = target.object_store.determine_wants_all
if CAPABILITY_THIN_PACK in self._fetch_capabilities:
# TODO(jelmer): Avoid reading entire file into memory and
# only processing it after the whole file has been fetched.
f = BytesIO()
def commit():
if f.tell():
Expand Down

0 comments on commit 826d050

Please sign in to comment.