Skip to content

Commit 05c0bca

Browse files
committed
Quick fix: increase the probability that remotes will find their bases.
Otherwise it's possible that the workspace remains on an island that is cut off from what's visible from the remote. Badly enough, the workspace can stop its search, so the remote will keep looking until the beginning of time. Setting the soft-limit to something higher means it doesn't stop the search quite as early, which helps here. The proper fix still needs to be done though.
1 parent 521a85b commit 05c0bca

File tree

1 file changed

+2
-1
lines changed
  • crates/but-graph/src/init

1 file changed

+2
-1
lines changed

crates/but-graph/src/init/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ impl Options {
9090
pub fn limited() -> Self {
9191
Options {
9292
collect_tags: false,
93-
commits_limit_hint: Some(300),
93+
// TODO: put this back down once the underlying issue is fixed.
94+
commits_limit_hint: Some(600),
9495
..Default::default()
9596
}
9697
}

0 commit comments

Comments
 (0)