]> arthur.barton.de Git - bup.git/commit
Make CatPipe objects more resilient when interrupted.
authorAvery Pennarun <apenwarr@gmail.com>
Sat, 13 Feb 2010 23:21:09 +0000 (18:21 -0500)
committerAvery Pennarun <apenwarr@gmail.com>
Sat, 13 Feb 2010 23:22:25 +0000 (18:22 -0500)
commite83d9044924bd85085dc71063e1c3661c5c01b18
tree4b1e7d5d0dbb66a5d52a35aad6fed84e76b47e7c
parentdf48a66afae98769b47382c35c34a1adf5aaad39
Make CatPipe objects more resilient when interrupted.

If we stopped iterating halfway through a particular object, the iterator
wouldn't finishing reading all the data, which would mess up the state of
the git-cat-file pipe.  Now we read all the data even if we're going to just
throw it away.
git.py
helpers.py