Merge branch 'jk/pack-bitmap'
[gitweb.git] / log-tree.c
index 08970bf46e49f6447ada24e81e5792ea9f92f419..5ce217d5eba33a54419ac8b29223cc16aa1f905e 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);