Remove debug assertions in git_store.rs (#28706)
Closes #ISSUE Release Notes: - N/A
This commit is contained in:
parent
ff41be30dc
commit
6db29eb90a
1 changed files with 2 additions and 5 deletions
|
@ -3862,8 +3862,8 @@ impl Repository {
|
||||||
fn spawn_local_git_worker(
|
fn spawn_local_git_worker(
|
||||||
work_directory_abs_path: Arc<Path>,
|
work_directory_abs_path: Arc<Path>,
|
||||||
dot_git_abs_path: Arc<Path>,
|
dot_git_abs_path: Arc<Path>,
|
||||||
repository_dir_abs_path: Arc<Path>,
|
_repository_dir_abs_path: Arc<Path>,
|
||||||
common_dir_abs_path: Arc<Path>,
|
_common_dir_abs_path: Arc<Path>,
|
||||||
project_environment: WeakEntity<ProjectEnvironment>,
|
project_environment: WeakEntity<ProjectEnvironment>,
|
||||||
fs: Arc<dyn Fs>,
|
fs: Arc<dyn Fs>,
|
||||||
cx: &mut Context<Self>,
|
cx: &mut Context<Self>,
|
||||||
|
@ -3889,9 +3889,6 @@ impl Repository {
|
||||||
})
|
})
|
||||||
.await?;
|
.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) =
|
if let Some(git_hosting_provider_registry) =
|
||||||
cx.update(|cx| GitHostingProviderRegistry::try_global(cx))?
|
cx.update(|cx| GitHostingProviderRegistry::try_global(cx))?
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue