config.txt: move guitool.* to a separate file
[gitweb.git] / cache-tree.c
index f210481f9b53d389b1f55c786bc9a8fc34252c97..9d454d24bca62dcdb8c941a64d09b7a53556323a 100644 (file)
@@ -785,7 +785,7 @@ static void verify_one(struct index_state *istate,
                strbuf_add(&tree_buf, oid->hash, the_hash_algo->rawsz);
        }
        hash_object_file(tree_buf.buf, tree_buf.len, tree_type, &new_oid);
-       if (oidcmp(&new_oid, &it->oid))
+       if (!oideq(&new_oid, &it->oid))
                BUG("cache-tree for path %.*s does not match. "
                    "Expected %s got %s", len, path->buf,
                    oid_to_hex(&new_oid), oid_to_hex(&it->oid));