Merge pull request #278 from pphaneuf/sparse_entries

Add support for sparse entries.
DO NOT MERGE.