# fetch: combine unpack error validation in a single function · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/9cfac4718d2a536fdd096320cc68664ae1ee2c68)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 9cfac4718d2a536fdd096320cc68664ae1ee2c68

Requested commit: 9cfac4718d2a536fdd096320cc68664ae1ee2c68

Commit: 9cfac4718d2a536fdd096320cc68664ae1ee2c68

Tree: f3c664be277b24d8b02ca1429806067067ce1037

Author: Igor Anić

Committer: Andrew Kelley

## Message

```
fetch: combine unpack error validation in a single function

Follow up of: #19500
[discussion](https://github.com/ziglang/zig/pull/19500#discussion_r1558238138)

```

## Parents

- [0ac15b9726d03819f0e8837ae0490e1b9890a799](https://git.cafe/gitcafe/zig/commit/0ac15b9726d03819f0e8837ae0490e1b9890a799?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/9cfac4718d2a536fdd096320cc68664ae1ee2c68?format=markdown)
