mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-06 02:37:21 +00:00
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,7 +324,8 @@ fn main() {
|
|||
}
|
||||
|
||||
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 =
|
||||
if cfg!(target_os = "macos") && option_env!("ZED_BUNDLE").as_deref() == Some("true") {
|
||||
app.path_for_auxiliary_executable("git")
|
||||
.context("could not find git binary path")
|
||||
.log_err()
|
||||
|
|
Loading…
Reference in a new issue