mattfenwick / SparkyExtensions

0 stars 0 forks source link

need to keep sparky files in sync with json dump file #26

Open mattfenwick opened 10 years ago

mattfenwick commented 10 years ago

the root problem is caused by not being able to save the sparky files programatically -- to make a commit, the user has to first manually save the project (normal sparky save) then make a snapshot

so if the user forgets to manually save, then there's the possibility that everything's out of sync

before the dump files, this wasn't as big of a problem because the git commit would fail if there were no changes to the files

however, if the dump file has changed, but the other files haven't, then the commit will succeed but be wrong

mattfenwick commented 10 years ago

idea: could try a git diff and see if anything has changed