Merge branch 'es/format-patch-rangediff'
[gitweb.git] / log-tree.c
index cec983a4610649e3a8a80d70865549f48f645bea..e5b353ea2d587c091b841e92f7ddcde4c4266a1a 100644 (file)
@@ -94,7 +94,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)) {