lucasmotta / dploy

⛔️ currently unmaintained ⛔️
http://lucasmotta.github.io/dploy/
MIT License
990 stars 90 forks source link

Fix checkDiff() on windows #16

Closed joncys closed 10 years ago

joncys commented 10 years ago

This attempts to fix issue #13.

I've removed single quotes from pretty formatting, because they seem to be causing this problem in git diff. As it seems the quotes are unnecessary when comparing two commit hashes both on Windows and *nix systems.

I've also refactored reading of the remote .rev file, since it's always coming as raw binary data.

Please feel free to criticize and reject this for whatever reason.

lucasmotta commented 10 years ago

Nice one. I will pull tomorrow at work and run a test on a windows machine – thanks for the helping on this.