ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/lib/src
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
..
backend.rs store: rename Store to Backend and StoreWrapper to Store 2021-09-12 12:02:10 -07:00
commit.rs store: rename Store to Backend and StoreWrapper to Store 2021-09-12 12:02:10 -07:00
commit_builder.rs store: rename Store to Backend and StoreWrapper to Store 2021-09-12 12:02:10 -07:00
conflicts.rs store: rename Store to Backend and StoreWrapper to Store 2021-09-12 12:02:10 -07:00
dag_walk.rs
diff.rs
evolution.rs store: rename Store to Backend and StoreWrapper to Store 2021-09-12 12:02:10 -07:00
file_util.rs
files.rs
git.rs git: don't fetch tags we're not fetching commits for 2021-09-24 07:46:54 -07:00
git_backend.rs store: rename Store to Backend and StoreWrapper to Store 2021-09-12 12:02:10 -07:00
gitignore.rs
index.rs store: rename Store to Backend and StoreWrapper to Store 2021-09-12 12:02:10 -07:00
index_store.rs store: remove (weak) self-reference and take &Arc<Self> arguments instead 2021-09-16 23:30:30 -07:00
lib.rs store: remove (weak) self-reference and take &Arc<Self> arguments instead 2021-09-16 23:30:30 -07:00
local_backend.rs store: rename Store to Backend and StoreWrapper to Store 2021-09-12 12:02:10 -07:00
lock.rs
matchers.rs
op_heads_store.rs store: rename Store to Backend and StoreWrapper to Store 2021-09-12 12:02:10 -07:00
op_store.rs store: rename Store to Backend and StoreWrapper to Store 2021-09-12 12:02:10 -07:00
operation.rs store: rename Store to Backend and StoreWrapper to Store 2021-09-12 12:02:10 -07:00
protos.rs
refs.rs store: rename Store to Backend and StoreWrapper to Store 2021-09-12 12:02:10 -07:00
repo.rs cli: rename jj prune to jj abandon 2021-09-19 22:51:12 -07:00
repo_path.rs
revset.pest
revset.rs store: rename Store to Backend and StoreWrapper to Store 2021-09-12 12:02:10 -07:00
revset_graph_iterator.rs
rewrite.rs rewrite: teach DescendantRebaser to handle abandoned commits specially 2021-09-19 22:51:12 -07:00
settings.rs
simple_op_store.rs store: rename Store to Backend and StoreWrapper to Store 2021-09-12 12:02:10 -07:00
store.rs store: remove (weak) self-reference and take &Arc<Self> arguments instead 2021-09-16 23:30:30 -07:00
testutils.rs store: rename Store to Backend and StoreWrapper to Store 2021-09-12 12:02:10 -07:00
transaction.rs store: rename Store to Backend and StoreWrapper to Store 2021-09-12 12:02:10 -07:00
tree.rs store: remove (weak) self-reference and take &Arc<Self> arguments instead 2021-09-16 23:30:30 -07:00
tree_builder.rs store: rename Store to Backend and StoreWrapper to Store 2021-09-12 12:02:10 -07:00
view.rs store: rename Store to Backend and StoreWrapper to Store 2021-09-12 12:02:10 -07:00
working_copy.rs store: rename Store to Backend and StoreWrapper to Store 2021-09-12 12:02:10 -07:00