Skip to content

Commit f1d49ba

Browse files
committed
Default to --access github
I've been using `cargo-bisect-rustc` for a while now, and `--access github` has never caused any problems. Maybe it can run into ratelimiting in extreme cases, but the user should then just use `git`. Meanwhile, git is a very confusing default as it will suddelny just start cloning the repo unless you were very careful when installing.
1 parent a825626 commit f1d49ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ a date (YYYY-MM-DD), git tag name (e.g. 1.58.0) or git commit SHA."
166166
#[arg(long, help = "Bisect via commit artifacts")]
167167
by_commit: bool,
168168

169-
#[arg(long, value_enum, help = "How to access Rust git repository", default_value_t = Access::Checkout)]
169+
#[arg(long, value_enum, help = "How to access Rust git repository", default_value_t = Access::Github)]
170170
access: Access,
171171

172172
#[arg(long, help = "Install the given artifact")]

0 commit comments

Comments
 (0)