# Reapply "build: Don't check parent directories for git tag" · gitcafe/zig

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

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

Visibility: public

Requested revision: 71e2f653cf3b53b4b9228f1c829d6bfe351fa453

Requested commit: 71e2f653cf3b53b4b9228f1c829d6bfe351fa453

Commit: 71e2f653cf3b53b4b9228f1c829d6bfe351fa453

Tree: e130b379b7c11e199c8caca88f96c80ee4353825

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
Reapply "build: Don't check parent directories for git tag"

This reverts commit 7e0c25eccd8d9bc5b77953dbc9a39a26e383c550.

The `--git-dir` argument is relative to the `-C` argument, making this
patch OK after all.

I added a comment to go along with this since I found it confusing.

Apologies for the revert.

```

## Parents

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

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