Silence git related errors on linux (#13083)
It's hard to imagine a world where we should package this on linux. Release Notes: - N/A
This commit is contained in:
parent
ff2347dff5
commit
e6def62c23
1 changed files with 8 additions and 7 deletions
|
@ -324,13 +324,14 @@ fn main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
let git_hosting_provider_registry = Arc::new(GitHostingProviderRegistry::new());
|
let git_hosting_provider_registry = Arc::new(GitHostingProviderRegistry::new());
|
||||||
let git_binary_path = if option_env!("ZED_BUNDLE").as_deref() == Some("true") {
|
let git_binary_path =
|
||||||
app.path_for_auxiliary_executable("git")
|
if cfg!(target_os = "macos") && option_env!("ZED_BUNDLE").as_deref() == Some("true") {
|
||||||
.context("could not find git binary path")
|
app.path_for_auxiliary_executable("git")
|
||||||
.log_err()
|
.context("could not find git binary path")
|
||||||
} else {
|
.log_err()
|
||||||
None
|
} else {
|
||||||
};
|
None
|
||||||
|
};
|
||||||
log::info!("Using git binary path: {:?}", git_binary_path);
|
log::info!("Using git binary path: {:?}", git_binary_path);
|
||||||
|
|
||||||
let fs = Arc::new(RealFs::new(
|
let fs = Arc::new(RealFs::new(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue