Remove debug assertions in git_store.rs (#28706)

Cole Miller created

Closes #ISSUE

Release Notes:

- N/A

Change summary

crates/project/src/git_store.rs | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)

Detailed changes

crates/project/src/git_store.rs 🔗

@@ -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))?
             {