# \`zig fetch\`: resolve ref to commit by default · gitcafe/zig

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

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

Visibility: public

Requested revision: dcffa7b2990046926aae782819a53dcd505aa4a3

Requested commit: dcffa7b2990046926aae782819a53dcd505aa4a3

Commit: dcffa7b2990046926aae782819a53dcd505aa4a3

Tree: c5b210c306d627f52ba5a373650c1d3f2a06deb5

Author: Christofer Nolander

Committer: Christofer Nolander

## Message

```
`zig fetch`: resolve ref to commit by default

Stores the original ref as a query parameter in the URL so that it is
possible to automatically check the upstream if there are any newer
commits.

Also adds a flag which opts-out of the new behaivour, restoring the old.

```

## Parents

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

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