ajskateboarder / scratch-git

Git integration for Scratch (TurboWarp) that just works
MIT License
23 stars 3 forks source link

Confusing behavior with identically named projects in different locations #40

Closed ajskateboarder closed 5 months ago

ajskateboarder commented 5 months ago

Describe the bug If one opens a non-configured project with the same name as another configured project, scratch.git will show information for the configured project, and trying to change and commit to the project will fail because the diffs for the configured project will be the exact same.

To Reproduce Steps to reproduce the behavior:

  1. Open and configure a project
  2. Copy that project to a different location
  3. Open that project
  4. Change the project and make a commit, see error

Expected behavior It should warn the user beforehand if a project with a similar name was opened

ajskateboarder commented 5 months ago

This is sort of resolved as there is now an error when committing to a project that meets the conditions of the issue, though it's not a forewarning

eh whatever