update do-rebase for newer git

Signed-off-by: Peter Jones <pjones@redhat.com>
This commit is contained in:
Peter Jones 2016-12-01 17:10:06 -05:00
parent 9d15b4d492
commit fd72ae98af

View file

@ -15,7 +15,7 @@ usage()
exit $retcode
}
if ! git status | grep -q 'nothing to commit, working directory clean' ; then
if ! git status | grep -q 'nothing to commit, working .* clean' ; then
echo "Working directory is not clean, cannot rebase." 1>&2
exit 1
fi