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 when deleting a file that is currently diffed #490

Closed
extrawurst opened this issue Jan 12, 2021 · 0 comments · Fixed by #547
Closed

panic when deleting a file that is currently diffed #490

extrawurst opened this issue Jan 12, 2021 · 0 comments · Fixed by #547
Labels
bug Something isn't working
Milestone

Comments

@extrawurst
Copy link
Owner

panic: AnyicInfo { payload: Any, message: Some(error getting diff: Git(Error { code: -1, klass: 2, message: "failed to resolve path \'./\': Operation not permitted" })), locatitrace:cation { file: "asyncgit/src/diff.rs", line: 122, col: 14 } }
   0: backtrace::capture::Backtrace::new
   1: gitui::set_panic_handlers::{{closure}}
   2: rayon_core::registry::Registry::handle_panic
   3: <rayon_core::job::HeapJob<BODY> as rayon_core::job::Job>::execute
   4: std::sys_common::backtrace::__rust_begin_short_backtrace
   5: core::ops::function::FnOnce::call_once{{vtable.shim}}e
   6: std::sys::unix::thread::Thread::new::thread_start
   7: __pthread_start::panic_fmt
   7: core::option::expect_none_failed
[1]    32570 abort      gituiE>::expect
@extrawurst extrawurst added this to the v0.12 milestone Feb 24, 2021
@extrawurst extrawurst added the bug Something isn't working label Feb 24, 2021
extrawurst pushed a commit that referenced this issue Feb 24, 2021
* fix some potentials for errors to bubble up (#490)
* fix async diff failing panic
extrawurst pushed a commit that referenced this issue May 27, 2021
* fix some potentials for errors to bubble up (#490)
* fix async diff failing panic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant