t7501: add test of "commit --dry-run --short"
[gitweb.git] / log-tree.c
index c0ac7af7cb6bffea85447ba3af151ee6b8ab65e3..7443e5fcc74b7964c478327c6557d53eb4f6b425 100644 (file)
@@ -92,7 +92,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)) {