Closed sokhryakov-d closed 3 days ago
Can you describe steps to reproduce the problem, please?
Case1: automatic update submodules enabled Checkout master 2, where submodule has hash XXXX. Add new files in submodule. Just only add files. then checkout master, where submodule has hash YYYY. . Try discard changes in submodules. discard not working
I don't understand how to reproduce case 1 with Git Error. If press 'discard' twice, everything works.
I found that the problems are due to git worktree. submodules do not work well with worktree. I don't think it's a client problem, it's a Git problem.
Discard submodule changes not working in some cases.
I would like to suggest making a button that would strictly perform cleaning. The functionality should work recursively for all submodules