commit 9c57c4c6816e643da8209cd6d1b7479cd1672114 from: Omar Polo via: Thomas Adam date: Tue Feb 13 22:15:58 2024 UTC fmt commit - 2de89b6b796bcedcc9ffad40aad86ae0e3d1ebd8 commit + 9c57c4c6816e643da8209cd6d1b7479cd1672114 blob - 7a7169989d346057da1a6f5c9071bc23875f12a2 blob + 6c527f7bbd1fc97f1c593f5347e467fa88958c52 --- lib/object_open_privsep.c +++ lib/object_open_privsep.c @@ -115,8 +115,8 @@ request_packed_object_raw(uint8_t **outbuf, off_t *siz struct imsgbuf *ibuf = pack->privsep_child->ibuf; int outfd_child; - err = pack_child_send_tempfiles(ibuf, pack); - if (err) + err = pack_child_send_tempfiles(ibuf, pack); + if (err) return err; outfd_child = dup(outfd); @@ -815,8 +815,8 @@ request_packed_blob(uint8_t **outbuf, size_t *size, si struct imsgbuf *ibuf = pack->privsep_child->ibuf; int outfd_child; - err = pack_child_send_tempfiles(ibuf, pack); - if (err) + err = pack_child_send_tempfiles(ibuf, pack); + if (err) return err; outfd_child = dup(outfd); blob - 577836766672831b4f5c95f77ce65ef38fa65ee0 blob + 4754ee4a77a1ad74f974b9b9452d09022e422de6 --- lib/repository.c +++ lib/repository.c @@ -2175,7 +2175,7 @@ alloc_added_blob_tree_entry(struct got_tree_entry **ne { const struct got_error *err = NULL; - *new_te = NULL; + *new_te = NULL; *new_te = calloc(1, sizeof(**new_te)); if (*new_te == NULL) blob - ff64a388103547c0e446f9343db78dc250cb60cf blob + f9dab4aa7fa61a15a37496a872943d7ba462fc69 --- lib/worktree.c +++ lib/worktree.c @@ -5892,7 +5892,7 @@ alloc_added_blob_tree_entry(struct got_tree_entry **ne const struct got_error *err = NULL; char *ct_name = NULL; - *new_te = NULL; + *new_te = NULL; *new_te = calloc(1, sizeof(**new_te)); if (*new_te == NULL)