From afc711b8e1ee89626f0dddf0ef01fb73168d47ca Mon Sep 17 00:00:00 2001 From: Michael Haggerty Date: Tue, 18 Feb 2014 12:24:55 +0100 Subject: rename read_replace_refs to check_replace_refs The semantics of this flag was changed in commit e1111cef23 inline lookup_replace_object() calls but wasn't renamed at the time to minimize code churn. Rename it now, and add a comment explaining its use. Signed-off-by: Michael Haggerty Signed-off-by: Junio C Hamano --- replace_object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'replace_object.c') diff --git a/replace_object.c b/replace_object.c index cdcaf8cbe2..c5cf9f4467 100644 --- a/replace_object.c +++ b/replace_object.c @@ -86,7 +86,7 @@ static void prepare_replace_object(void) for_each_replace_ref(register_replace_ref, NULL); replace_object_prepared = 1; if (!replace_object_nr) - read_replace_refs = 0; + check_replace_refs = 0; } /* We allow "recursive" replacement. Only within reason, though */ -- cgit v1.2.3