jesseduffield / jesseduffield/lazygit
Illogical message when deleting unstaged changes
- Dominant language
- Go
- Stars
- 82.4k
- Forks
- 3k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 19
Description
### Describe the bug
When I want to delete an untracked file, the choices and messages are illogical.
### To Reproduce
Steps to reproduce the behavior:
1. Create an empty repo
2. Create an empty file
3. Select the file in the files panel
4. Press D to delete it
5. The option "Discard unstaged changes" is unavailable (strike through)
### Expected behavior
The tool lets me choose "Discard unstaged changes", because that's exactly what it has: unstaged changes only.
The option "Discard all changes" with the message "Discard both staged and unstaged changes" is illogical, because this file does not have staged changes.
### Screenshots
### Version info:
commit=, build date=, build source='debian', version='0.50.0+ds1-1+b2', os=linux, arch=amd64, git version=2.47.3
### Terminal info:
Windows with Putty, SSH to Linux Mint
### Additional context
I am new to Linux and lazygit and don't want to mess with nightly builds at the moment.
Contributor guide
Assessment
This issue has not been assessed yet.