We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
git
1 parent 4a47a4f commit ed02051Copy full SHA for ed02051
lib/src/git_subprocess.rs
@@ -132,7 +132,8 @@ impl<'a> GitSubprocessContext<'a> {
132
let mut command = self.create_command();
133
command.stdout(Stdio::piped());
134
// attempt to prune stale refs with --prune
135
- command.args(["fetch", "--prune"]);
+ // --no-write-fetch-head ensures our request is invisible to other parties
136
+ command.args(["fetch", "--prune", "--no-write-fetch-head"]);
137
if callbacks.progress.is_some() {
138
command.arg("--progress");
139
}
0 commit comments