Use "git diff -q" to determine if there are local changes to Git repositories
This commit is contained in:
parent
0ea104b121
commit
346af82588
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user