ethereum / remix-desktop

Remix IDE desktop
1.02k stars 264 forks source link

Remix rewrites a local file with its own content if the file has been changed during a git rebase #152

Open mushketyk opened 2 years ago

mushketyk commented 2 years ago

Steps to reproduce

  1. Open a file in a git repo
  2. Start a rebase that changes a git repo to a version where the opened file has a different content
  3. In Remix close the tab with the changed file
  4. Open this file again
  5. The content of the file would be the same as it was before the rebase, in other words, it does not reflect the current state of the file system
  6. The file on the filesystem now contains the content that was in the opened Remix tab pre-rebase

Software versions

Remix: Version 1.3.4 (1.3.4.825) macOS: 12.0.1 (21A559) Apple M1 Max