trilbymedia / grav-plugin-git-sync

Collaboratively Synchronize your Grav `user` folder hosted on GitHub, BitBucket or GitLab
Apache License 2.0
243 stars 58 forks source link

Admin Panel says sync was successful even if it isnt #107

Closed ProbablePrime closed 6 years ago

ProbablePrime commented 6 years ago

When there's a missing git binary and you try to syncronize the admin panel will say its successful even though its not.

https://github.com/trilbymedia/grav-plugin-git-sync/blob/develop/git-sync.php#L115

Always returns true, even if it did nothing.

ProbablePrime commented 6 years ago

Dupe of: https://github.com/trilbymedia/grav-plugin-git-sync/issues/96