Skip to content

fix: git.promptToSaveFilesBeforeCommit should not warn on unstaged files#66572

Closed
flurmbo wants to merge 2 commits intomicrosoft:masterfrom
flurmbo:master
Closed

fix: git.promptToSaveFilesBeforeCommit should not warn on unstaged files#66572
flurmbo wants to merge 2 commits intomicrosoft:masterfrom
flurmbo:master

Conversation

@flurmbo
Copy link
Contributor

@flurmbo flurmbo commented Jan 16, 2019

Fixes #66296. I've also changed the message strings to reflect this change. I'm not familiar with how localization is done on this project so I put that change in a separate commit.

The fix is implemented by computing unsaved documents as before and then comparing each one's path string with the paths of the objects in repository.indexGroup.resourceStates.

@msftclas
Copy link

msftclas commented Jan 16, 2019

CLA assistant check
All CLA requirements met.

@joaomoreno joaomoreno added this to the Backlog milestone Jan 16, 2019
@joaomoreno joaomoreno added the git GIT issues label Jan 16, 2019
@flurmbo flurmbo closed this Feb 5, 2019
@flurmbo
Copy link
Contributor Author

flurmbo commented Feb 5, 2019

Closed to free up my master branch, replaced by #67953

@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

git GIT issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

git.promptToSaveFilesBeforeCommit should not warn on unstaged files.

3 participants