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

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

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

Visibility: public

Requested revision: 1eb729b9b9a03f896e06001d9791e55753c60dfa

Requested commit: 1eb729b9b9a03f896e06001d9791e55753c60dfa

Commit: 1eb729b9b9a03f896e06001d9791e55753c60dfa

Tree: 8775a78438fc8db93cf319bbe648b6cbe8cc6ee7

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

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

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