Skip to content

Commit

Permalink
odb-over-ipc: fix coccinelle suggested change
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff Hostetler <[email protected]>
  • Loading branch information
jeffhostetler authored and vdye committed Apr 22, 2024
1 parent 9d969b8 commit c9471b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion odb-over-ipc.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ int odb_over_ipc__get_oid(struct repository *r, const struct object_id *oid,
content = answer.buf + sizeof(*resp);
content_len = answer.len - sizeof(*resp);

if (oidcmp(&resp->oid, oid)) {
if (!oideq(&resp->oid, oid)) {
// TODO Think about the _LOOKUP_REPLACE code here
BUG("received different OID");
}
Expand Down

0 comments on commit c9471b3

Please sign in to comment.