Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

panic called Option::unwrap() on a None value in build_git_repository #9174

Closed
1 task done
ConradIrwin opened this issue Mar 11, 2024 · 0 comments · Fixed by #9281
Closed
1 task done

panic called Option::unwrap() on a None value in build_git_repository #9174

ConradIrwin opened this issue Mar 11, 2024 · 0 comments · Fixed by #9281
Assignees
Labels
defect [core label] panic / crash [core label]

Comments

@ConradIrwin
Copy link
Member

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

thread '<unnamed>' panicked at 'called `Option::unwrap()` on a `None` value'
crates/project_core/src/worktree.rs:2663
<project_core::worktree::BackgroundScannerState>::build_git_repository
<project_core::worktree::BackgroundScannerState>::reload_repositories
<project_core::worktree::BackgroundScanner>::process_events::{closure#0}
project_core::worktree::start_background_scan_tasks::{closure#0}
<async_task::raw::RawTask<core::pin::Pin<alloc::boxed::Box<dyn core::future::future::Future<Output = ()> + core::marker::Send>>, (), <gpui::executor::BackgroundExecutor>::spawn_internal<()>::{closure#0}, ()>>::run
_pthread_mach_thread_np

Environment

v0.125.x

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.

No response

@ConradIrwin ConradIrwin added defect [core label] triage Maintainer needs to classify the issue panic / crash [core label] admin read Pending admin review labels Mar 11, 2024
@Moshyfawn Moshyfawn removed the triage Maintainer needs to classify the issue label Mar 11, 2024
@maxdeviant maxdeviant changed the title panic called Option::unwrap() on a None` value in build_git_repository panic called Option::unwrap() on a None value in build_git_repository Mar 11, 2024
@JosephTLyons JosephTLyons removed the admin read Pending admin review label Mar 12, 2024
@SomeoneToIgnore SomeoneToIgnore self-assigned this Mar 12, 2024
SomeoneToIgnore added a commit that referenced this issue Mar 13, 2024
Closes #9174

Release Notes:

- Fixed panics when `.git` was opened as a Zed worktree
([9174](#9174))
SomeoneToIgnore added a commit that referenced this issue Mar 13, 2024
Closes #9174

Release Notes:

- Fixed panics when `.git` was opened as a Zed worktree
([9174](#9174))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect [core label] panic / crash [core label]
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants