]> git.ipfire.org Git - thirdparty/git.git/commit - read-cache.c
cache.h: hide on-disk index details
authorJunio C Hamano <gitster@pobox.com>
Tue, 3 Apr 2012 22:53:09 +0000 (15:53 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 3 Apr 2012 23:24:45 +0000 (16:24 -0700)
commitdb3b313c84522d89ac358187a7f6928dfcfb1e7d
tree5dc333c2a514c0228767b869afc0a39711dcd042
parentd2c1898571a6a2324593e92163e8754880e0c1fb
cache.h: hide on-disk index details

The on-disk format of the index file is a detail whose implementation is
neatly encapsulated in read-cache.c; there is no need to expose it to the
general public that include the cache.h header file.

Also add a prominent mark to read-cache.c to delineate the parts that deal
with the index file I/O routines from the remainder of the file.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h
read-cache.c