Open
Description
Describe the bug
When ~/.config/gitui
is set to a broken symlink, gitui does not start and the only error message you get is this:
Error: File exists (os error 17)
To Reproduce
Steps to reproduce the behavior:
mv ~/.config/gitui ~/.config/gitui_bak
ln -s ~/does_not_exist ~/.config/gitui
- Try to start
gitui
anywhere - See error
Expected behavior
Give a hint on what's wrong, such as "There seems to be a broken symbolic link at ~/.config/gitui
".
Context:
- OS/Distro + Version: Fedora Linux 42
- GitUI Version gitui 0.26.3 2025-04-22 ()
- Rust version: cargo 1.86.0 (adf9b6ad1 2025-02-28)