mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-18 23:02:31 +03:00
Merge pull request #3249 from gitbutlerapp/fix-fetching-with-system-executable
fix fetching with system executable
This commit is contained in:
commit
f61af86852
@ -2665,7 +2665,7 @@ pub fn push(
|
||||
with_force,
|
||||
credentials,
|
||||
None,
|
||||
askpass.clone(),
|
||||
askpass,
|
||||
)?;
|
||||
|
||||
vbranch.upstream = Some(remote_branch.clone());
|
||||
@ -2674,12 +2674,6 @@ pub fn push(
|
||||
.write(&mut vbranch)
|
||||
.context("failed to write target branch after push")?;
|
||||
|
||||
project_repository.fetch(
|
||||
remote_branch.remote(),
|
||||
credentials,
|
||||
askpass.map(|(broker, _)| (broker, "push".to_string())),
|
||||
)?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
@ -261,7 +261,7 @@ where
|
||||
Fut: std::future::Future<Output = Option<String>>,
|
||||
Extra: Send + Clone,
|
||||
{
|
||||
let mut args = vec!["fetch", "--quiet", "--no-write-fetch-head"];
|
||||
let mut args = vec!["fetch", "--quiet"];
|
||||
|
||||
let refspec = refspec.to_string();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user