Remove debug assertions in git_store.rs (#28706)
Closes #ISSUE Release Notes: - N/A
This commit is contained in:
@@ -3862,8 +3862,8 @@ impl Repository {
|
||||
fn spawn_local_git_worker(
|
||||
work_directory_abs_path: Arc<Path>,
|
||||
dot_git_abs_path: Arc<Path>,
|
||||
repository_dir_abs_path: Arc<Path>,
|
||||
common_dir_abs_path: Arc<Path>,
|
||||
_repository_dir_abs_path: Arc<Path>,
|
||||
_common_dir_abs_path: Arc<Path>,
|
||||
project_environment: WeakEntity<ProjectEnvironment>,
|
||||
fs: Arc<dyn Fs>,
|
||||
cx: &mut Context<Self>,
|
||||
@@ -3889,9 +3889,6 @@ impl Repository {
|
||||
})
|
||||
.await?;
|
||||
|
||||
debug_assert_eq!(backend.path().as_path(), repository_dir_abs_path.as_ref());
|
||||
debug_assert_eq!(backend.main_repository_path().as_path(), common_dir_abs_path.as_ref());
|
||||
|
||||
if let Some(git_hosting_provider_registry) =
|
||||
cx.update(|cx| GitHostingProviderRegistry::try_global(cx))?
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user