Describe the bug
A clear and concise description of what the bug is.
I have a directory which contains files and dirs recursively, I open lazygit and navigate to the directory, d to discard all changes, all the files in the directory are deleted, but the top directory and all the subdirectories are still there.
To Reproduce
Steps to reproduce the behavior:
- create a directoryA containing files and directoris in it inside a git repo
- open lazygit in the repo
- navigate to the directoryA
d on the directoryA
Check the content in directoryA, files in it are all deleted, but directoryA and all subdirectories are not
Expected behavior
A clear and concise description of what you expected to happen.
d (discard all changes) on an untracked directory should delete all the files and subdirectories and directory itself completely.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. Windows] Arch Linux
- Lazygit Version [e.g. v0.1.45]
v0.34 installed from Arch Linux repo
- The last commit id if you built project from sources (run :
git rev-parse HEAD)
Additional context
Add any other context about the problem here.
Using the default configuration (~/.config/lazygit is created by first run of lazygit and no changes in it)
Describe the bug
A clear and concise description of what the bug is.
I have a directory which contains files and dirs recursively, I open lazygit and navigate to the directory,
dtodiscard all changes, all the files in the directory are deleted, but the top directory and all the subdirectories are still there.To Reproduce
Steps to reproduce the behavior:
don the directoryACheck the content in directoryA, files in it are all deleted, but directoryA and all subdirectories are not
Expected behavior
A clear and concise description of what you expected to happen.
d(discard all changes) on an untracked directory should delete all the files and subdirectories and directory itself completely.Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
v0.34installed from Arch Linux repogit rev-parse HEAD)Additional context
Add any other context about the problem here.
Using the default configuration (
~/.config/lazygitis created by first run of lazygit and no changes in it)