rename READ_SHA1_FILE_REPLACE flag to LOOKUP_REPLACE_OBJECT
commitffe68cf9acf1127078b0dfa0b09661ce52916642
authorChristian Couder <chriscool@tuxfamily.org>
Wed, 11 Dec 2013 07:46:04 +0000 (11 08:46 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 12 Dec 2013 19:53:48 +0000 (12 11:53 -0800)
tree63662f331486c9695c6cddc9d78e60723635182c
parentd2446dfd7f3b3f8948142cfb07a0270e2497d93f
rename READ_SHA1_FILE_REPLACE flag to LOOKUP_REPLACE_OBJECT

The READ_SHA1_FILE_REPLACE flag is more related to using the
lookup_replace_object() function rather than the
read_sha1_file() function.

We also need such a flag to be used with sha1_object_info()
instead of read_sha1_file().

The name LOOKUP_REPLACE_OBJECT is therefore better for this
flag.

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