# stage1: don't copy unchanged output files · gitcafe/zig

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

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

Visibility: public

Requested revision: a26800c0992b123b1ef16712ec1e56fb62b0caf9

Requested commit: a26800c0992b123b1ef16712ec1e56fb62b0caf9

Commit: a26800c0992b123b1ef16712ec1e56fb62b0caf9

Tree: 5e5e1ed32b65f332dca05e8300d820ab5e3a44ed

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage1: don't copy unchanged output files

when both `--cache on` and `--output-dir` parameters
are provided. This prevents re-linking `zig` with every
`make` even when `libzigstage2.a` was unchanged.

```

## Parents

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

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