# cmake: Mark \<root\>/\.git/HEAD as a configure dependency · gitcafe/zig

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

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

Visibility: public

Requested revision: b605cb2742092530b7edf4c9d95c0ae28051ce95

Requested commit: b605cb2742092530b7edf4c9d95c0ae28051ce95

Commit: b605cb2742092530b7edf4c9d95c0ae28051ce95

Tree: 36c5f4ea4fb635f449cfde34ef2f218a2ba52f6c

Author: Cody Tapscott

Committer: Andrew Kelley

## Message

```
cmake: Mark <root>/.git/HEAD as a configure dependency

This ensures that the Zig version will be re-computed when jumping
through the source tree, which is especially important if bisecting
across AstGen- or other changes that must not use the old cache.

```

## Parents

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

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