sha1_file: make "read_object" static
commitc2c5b27051babdc2a7503d5b9d695b4c7b45c14b
authorChristian Couder <chriscool@tuxfamily.org>
Mon, 12 Jan 2009 17:42:24 +0000 (12 18:42 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 13 Jan 2009 08:14:55 +0000 (13 00:14 -0800)
tree5905babfa50934008673f9699387069e908065e3
parentabc776f7880c2dc0a4179420366e40ecb99d223f
sha1_file: make "read_object" static

This function is only used from "sha1_file.c".

And as we want to add a "replace_object" hook in "read_sha1_file",
we must not let people bypass the hook using something other than
"read_sha1_file".

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h
sha1_file.c