Open akinsho opened 5 months ago
😓 Awesome. Could you run NEOGIT_LOG_LEVEL="debug" NEOGIT_LOG_FILE="true" NEOGIT_DEBUG=true nvim
to capture some logs, then trigger the issue?
(:= require("neogit").get_log_file_path()
will print the log location)
@CKolkey thanks for the quick response. I just tried that and nothing new gets logged. Seems like it freezes straightaway. No UI gets opened. Seems like whatever causes the hang happens during the loading of the plugin. The last log I have had it's last entry in 2022. Opening with the debug command didn't change that
Oh, so its when you run :Neogit
?
Yeah it does
Description
Previously i.e. probably over a year ago+ at this point, I was able to use neogit with 1Password storing my ssh keys. This means that when committing or when in some instances running a simple git fetch for refreshing a TUI program, this would throw up an OS prompt from 1Password to authorize using the SSH key. This used to work and for context works fine with Lazygit. I recently started using 1password again for this but have found that neogit no longer supports this and neovim freezes entirely.
Example of SSH auth prompt
Neovim version
NVIM v0.10.0 Build type: Release LuaJIT 2.1.1716656478
Operating system and version
macOS 11.5
Steps to reproduce
Expected behavior
A prompt should be opened so I can authorize the action
Actual behavior
Neovim CPU usages rises to 99% and the process completely hangs
Minimal config