Describe the bug
When hiding untracked files, adding a folder adds also untracked files (git add instead of git add -u).
This means you are also in the commit only shown a subset of the files that will be actually commited.
To Reproduce
In a repo, create a folder, add two files, track one file.
Then change the tracked file.
Open lazy git. Filter to tracked files (ctrl+b, t).
Now with space select the folder to commit.
Without your knowledge it also adds the untracked file.
Expected behavior
It should only add from the tracked files, if the view is filtered.
Version info:
commit=, build date=, build source=nix, version=0.45.2, os=linux, arch=amd64, git version=2.47.1
Additional context
There might be a reason to do it this way. If that is the case, at least a warning should be displayed.