psychopy.org | Reference | Downloads | Github

Exit code (1) error when syncing: no changes added to commit

URL of project: https://pavlovia.org/AnthonyGabay/foraging_online

Description of the problem:
I’ve run into a new problem when syncing changes to the experiment. Below is a screenshot of appears in the coder output when trying to sync:

That’s strange. I wonder why the files aren’t being added to the commit. When you press sync I assume the commit dialog does appear? Does it tell you that 4 files have changed? Are you then typing in a commit message or are you just pressing return?

Hi @jon,

I had just written an answer saying that yes the dialog appears, with the correct information about changes etc, and thought I’d just try syncing again to make sure that that is true, but now this time the sync worked. I’m 99% certain that nothing was different to how it was last time I tried syncing (yesterday evening).

Very odd, but glad that it has worked. If you plan on trying to figure out what may have been going on, let me know if you need any other info. The answer to your final question is that yes, I was typing in commit messages, but not adding ‘detailed descriptions’.

Cheers,
Anthony

Detailed description is entirely optional. A commit message of some sort is required but we added code to provide our own if the user hadn’t supplied one so all Icould think was that code had failed in your case.

Clearly there is some way to get PsychoPy to fail to add changed files during the git commit, but I’m out of ideas how that occurred. If you do see it happen again then come back and let us know (with any extra info you can think of about what might have been different).

thanks