Describe the bug
When I want to delete an untracked file, the choices and messages are illogical.
To Reproduce
Steps to reproduce the behavior:
- Create an empty repo
- Create an empty file
- Select the file in the files panel
- Press D to delete it
- 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.
Describe the bug
When I want to delete an untracked file, the choices and messages are illogical.
To Reproduce
Steps to reproduce the behavior:
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.