summaryrefslogtreecommitdiff
path: root/write_or_die.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-04-03 15:53:15 -0700
committerJunio C Hamano <gitster@pobox.com>2012-04-03 16:24:46 -0700
commit6c9cd161d9d1bee349b1389d661282c92da098bc (patch)
tree3f246a8cb55a0767a7ce4a25c083918b24233560 /write_or_die.c
parentf136f7bfe816b46ebabf5439f8e55f37097ca353 (diff)
downloadgit-6c9cd161d9d1bee349b1389d661282c92da098bc.tar.gz
read-cache.c: read prefix-compressed names in index on-disk version v4
Because the entries are sorted by path, adjacent entries in the index tend to share the leading components of them, and it makes sense to only store the differences in later entries. In the v4 on-disk format of the index, each on-disk cache entry stores the number of bytes to be stripped from the end of the previous name, and the bytes to append to the result, to come up with its name. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'write_or_die.c')
0 files changed, 0 insertions, 0 deletions