git-ftp/git-ftp — pull request #141 by mkllnk (2014-12-02 10:25:07+00:00)
Title: Check no files changed || counting bug

This patch should solve #5.

If there were no files to change, handle_file_sync() was still counting one file. That resulted in this output:

There are 1 files to sync:
Last deployment changed to b63e7010bc207a8f6fe6011dadf5d0547992c50e.

This patch will display:

There are no files to sync.

It will not upload the SHA-1.