strbuf: add strbuf_tolower function
[gitweb.git] / log-tree.c
index 17862f6cfbd5c1f5faca4c11110351432f30b2d6..cf2f86c86632c6df8862fc065299e6cc35aa4829 100644 (file)
@@ -100,7 +100,7 @@ static int add_ref_decoration(const char *refname, const unsigned char *sha1, in
 
        if (starts_with(refname, "refs/replace/")) {
                unsigned char original_sha1[20];
-               if (!read_replace_refs)
+               if (!check_replace_refs)
                        return 0;
                if (get_sha1_hex(refname + 13, original_sha1)) {
                        warning("invalid replace ref %s", refname);