When the .gitignore is updated, newly ignored files are not removed from the repo.
Expected Behaviour
Metro should check if .gitignore is updated. If it is, it should invalidate and update the staging area by removing all items from the cache and re-adding them.
Reproducibility
Create a file.
Commit the file.
Add the file to .gitignore.
Commit using Metro.
The file will not be removed in the commit.
Issue Description
When the
.gitignore
is updated, newly ignored files are not removed from the repo.Expected Behaviour
Metro should check if
.gitignore
is updated. If it is, it should invalidate and update the staging area by removing all items from the cache and re-adding them.Reproducibility
Create a file. Commit the file. Add the file to
.gitignore
. Commit using Metro. The file will not be removed in the commit.System Details
Windows 10
Release Version
tests
branch commit 3b88b80