Code

read_cache_from(): small simplification
authorLuiz Fernando N. Capitulino <lcapitulino@mandriva.com.br>
Wed, 25 Apr 2007 14:18:17 +0000 (11:18 -0300)
committerJunio C Hamano <junkio@cox.net>
Wed, 25 Apr 2007 20:44:27 +0000 (13:44 -0700)
commit3511a3774e60783d979ebc2ef7b04371a23602bb
treed84f54426e8e84bfa56df3a3b6120717b2a99ccb
parentefbc5831264fbe3696e6fc264bba9319265d7344
read_cache_from(): small simplification

This change 'opens' the code block which maps the index file into
memory, making the code clearer and easier to read.

Signed-off-by: Luiz Fernando N. Capitulino <lcapitulino@mandriva.com.br>
Signed-off-by: Junio C Hamano <junkio@cox.net>
read-cache.c