Code

read-cache/write-cache: optionally return cache checksum SHA1.
authorJunio C Hamano <junkio@cox.net>
Sun, 23 Apr 2006 23:52:08 +0000 (16:52 -0700)
committerJunio C Hamano <junkio@cox.net>
Sun, 23 Apr 2006 23:57:40 +0000 (16:57 -0700)
commit1af1c2b63db6a413fbeb9b08cd55dcb735d7597d
tree0e6f963270afcd9036a2f224b9e1038ca0500c46
parente64961b0573b0e72bd55eab6d36bd97f859f9516
read-cache/write-cache: optionally return cache checksum SHA1.

read_cache_1() and write_cache_1() takes an extra parameter
*sha1 that returns the checksum of the index file when non-NULL.

Signed-off-by: Junio C Hamano <junkio@cox.net>
cache.h
read-cache.c