add core.usereplacerefs config option
[gitweb.git] / log-tree.c
index 4a3907fea02d50e1074ca1b785780a0753e77468..ec3a689c6adef891f1dec427c95fb3fdbd1483a2 100644 (file)
@@ -91,7 +91,7 @@ static int add_ref_decoration(const char *refname, const struct object_id *oid,
 
        if (starts_with(refname, git_replace_ref_base)) {
                struct object_id original_oid;
-               if (!check_replace_refs)
+               if (!read_replace_refs)
                        return 0;
                if (get_oid_hex(refname + strlen(git_replace_ref_base),
                                &original_oid)) {