git diff --no-index exit code 1 means there are differences, not an error

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>