Martin von Zweigbergk
edf7ec0a72
git: don't fetch tags we're not fetching commits for
...
In the recent switch away from `git2::Remote::fetch()`, I passed
`git2::AutotagOption::All`, which caused cloning of e.g. the `clap`
repo to fail like this:
```
Error: Fetch failed: Error { code: -1, klass: 4, message: "target OID for the reference doesn't exist on the repository" }
```
This commit changes from `All` to `Unspecified`, which respects the
remote's configuration.
2021-09-24 07:46:54 -07:00
..
2021-09-12 12:02:10 -07:00
2021-09-12 12:02:10 -07:00
2021-09-12 12:02:10 -07:00
2021-09-12 12:02:10 -07:00
2021-06-14 00:27:31 -07:00
2021-06-26 23:49:58 -07:00
2021-09-12 12:02:10 -07:00
2021-06-16 10:52:55 -07:00
2021-06-30 12:09:36 -07:00
2021-09-12 12:02:10 -07:00
2021-09-24 07:46:54 -07:00
2021-06-14 00:27:31 -07:00
2021-09-16 23:30:30 -07:00
2021-09-12 12:02:10 -07:00
2021-09-16 23:30:30 -07:00
2021-09-12 12:02:10 -07:00
2021-04-29 00:01:04 -07:00
2021-06-14 00:27:31 -07:00
2021-09-12 12:02:10 -07:00
2021-09-12 12:02:10 -07:00
2021-09-12 12:02:10 -07:00
2020-12-24 01:05:17 -08:00
2021-09-12 12:02:10 -07:00
2021-06-14 00:27:31 -07:00
2021-09-19 22:51:12 -07:00
2021-05-01 23:25:33 -07:00
2021-04-23 19:10:28 -07:00
2021-09-12 12:02:10 -07:00
2021-09-19 22:51:12 -07:00
2021-05-19 13:02:39 -07:00
2021-09-12 12:02:10 -07:00
2021-09-16 23:30:30 -07:00
2021-09-12 12:02:10 -07:00
2021-09-12 12:02:10 -07:00
2021-09-12 12:02:10 -07:00
2021-09-16 23:30:30 -07:00
2021-09-12 12:02:10 -07:00
2021-09-12 12:02:10 -07:00