commit 2be33b091701ba8292b338d88696867872304963 from: Omar Polo via: Thomas Adam date: Fri Feb 03 15:22:14 2023 UTC typo in comment it serializes the struct got_imsg_tree_entry, not tree_object. grep aid. commit - 91b10dd279d3a9d6a488fc2fb1a0935947f9f350 commit + 2be33b091701ba8292b338d88696867872304963 blob - 37ac68ccbb1740fcf71e6275e0713de0e5ede681 blob + 7c89e0deea089505b7e874e3a4df2146d7da65ef --- 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)