Use "git diff -q" to determine if there are local changes to Git repositories

This commit is contained in:
Pierre Pronchery 2014-12-02 21:27:36 +01:00
parent 0ea104b121
commit 346af82588

View File

@ -161,8 +161,7 @@ _release_diff_cvs()
_release_diff_git()
{
lines=$($DEBUG $GIT diff | $WC -l)
[ $lines -eq 0 ] || return 2
$DEBUG $GIT diff -q
}
_release_fetch()