'Revert' does not work for submodules
Possibly the same as #774 (closed), but that has already been fixed for multiple years.
What steps will reproduce the problem?
- Create a new folder and open that folder
- Run the following commands
git init git submodule add https://github.com/octocat/Hello-World cd Hello-World git checkout 553c2077f0edc3d5dc5d17262f6aa498e69d6f8e cd .. git add . git commit -m first git submodule update --remote
- Open "TortoiseGit" > "Diff" (or "the "Show log")
ℹ It should show the submodule as modified - Select the submodule and perform "Revert..."
❌ Nothing happens
What is the expected output? What do you see instead?
Expected: It should be possible to revert submodule changes.
Actual: It is not possible to revert submodule changes.
What version of TortoiseGit and Git are you using? On what operating system?
Microsoft Windows [Version 10.0.19043.1415]
TortoiseGit 2.12.0.0
git version 2.34.1.windows.1