SRombauts / UEGitPlugin

Unreal Engine 5 Git LFS 2 Source Control Plugin (beta)
http://srombauts.github.io/UEGitPlugin
MIT License
806 stars 165 forks source link

Fix: Deleted files were still cached as "added" after "git rm" was ex… #86

Closed Butterscup closed 5 years ago

Butterscup commented 5 years ago

Deleted files were still cached as "added" after "git rm" was executed. This causes a revert to fail if, for example, you create a new actor in unreal, then delete it. To reproduce:

  1. Create a new actor and save it to disk. Unreal should automatically stage it for commit upon saving.
  2. Delete the file. Unreal with automatically run "git rm", but fails to update the cache.
  3. Click Source Control -> Revert, then OK to the prompt.
  4. Unreal complains that the file you deleted doesn't exist and says the revert failed.
SRombauts commented 5 years ago

Great, thank you!