]> arthur.barton.de Git - bup.git/commit
bloom: Use truncate not writing zeros in create
authorBrandon Low <lostlogic@lostlogicx.com>
Mon, 7 Feb 2011 17:08:00 +0000 (09:08 -0800)
committerAvery Pennarun <apenwarr@gmail.com>
Tue, 8 Feb 2011 01:50:18 +0000 (17:50 -0800)
commit61858bf9ac4e0946f55904698a9e922f8fd691cf
tree5e5d4dad772186951c94ee032522f76f123eca26
parentf6464fb028c78c4d31232fedd94008a8320768e2
bloom: Use truncate not writing zeros in create

This lets us test more of bloom's code without writing gigabyte(s) of
zeros to disk.  As noted in the NOTE: this works on all of the common
modern unixes that I checked, but may need special handling on other
systems.

Signed-off-by: Brandon Low <lostlogic@lostlogicx.com>
lib/bup/git.py
lib/bup/t/tgit.py