# Package.Fetch: resolve instead of join relative paths · gitcafe/zig

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

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

Visibility: public

Requested revision: 1fd95fc00519ee44de94fa5b73ca7a3285b92149

Requested commit: 1fd95fc00519ee44de94fa5b73ca7a3285b92149

Commit: 1fd95fc00519ee44de94fa5b73ca7a3285b92149

Tree: c14672df5650d18990d430b4272c9b1a8ee31c1d

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

````
Package.Fetch: resolve instead of join relative paths

This prevents bogus "error: file exists in multiple modules" errors due
to file paths looking like:
```
note: root of module foo/freetype/
note: root of module foo/fontconfig/../freetype/
```

It also enables checking for dependency paths outside the root package.

````

## Parents

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

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