Open jasonswearingen opened 12 months ago
Sorry for the trouble and thanks for reporting.
prompt the user to restore cloud changes
This is strange. We notify if we detect that resuming changes would overwrite local changes. We also don't resume stale changes if they were generated for an unrelated commit (there is an experimental setting which will notify you if there are stored changes which have a different commit but same ref and repo). Can you share your settings just in case?
Here are my settings (from appData). I don't use per-folder/project settings. IIRC the last thing I did was disable the cloud changes. settings.json
If it matters, I tend to have many different VSCode windows open, for example: one for the git repo root, one for the .csproj root, and maybe another one-off editing some random file somewhere on the HD.
sorry not a real bug report, as I don't know how to repro, but a FYI.
the problem:
cloud changes caused dataloss because it restored stale data
the setup:
.cs
files open in VSCode. I did have the folder parent of the.sln
open. I might have had another VSCode window with the.sln
folder open also.the steps?
.sln
) and suddenly all my edits are blown away, files are in a state prior to last git commit.additional thoughts