commit c4d35c5bb4f936d0f96bb62d234001b68dc33089 from: Omar Polo date: Thu Feb 02 11:18:55 2023 UTC typo in comment it serializes the struct got_imsg_tree_entry, not tree_object. grep aid. commit - 0c091d87ab17ea31491f4b716ce8b6f0fbb99001 commit + c4d35c5bb4f936d0f96bb62d234001b68dc33089 blob - d40d65ea1e93b234a672d9edd3fef1c550898939 blob + a54ba7c0e2d8f3fc5ac97dacc39c1d54cb028eb7 --- lib/privsep.c +++ lib/privsep.c @@ -1406,7 +1406,7 @@ send_tree_entries_batch(struct imsgbuf *ibuf, for (i = idx0; i <= idxN; i++) { struct got_parsed_tree_entry *pte = &entries[i]; - /* Keep in sync with struct got_imsg_tree_object definition! */ + /* Keep in sync with struct got_imsg_tree_entry definition! */ if (imsg_add(wbuf, pte->id, SHA1_DIGEST_LENGTH) == -1) return got_error_from_errno("imsg_add TREE_ENTRY"); if (imsg_add(wbuf, &pte->mode, sizeof(pte->mode)) == -1)