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 ced107a476
commit 5c99bbbbf1

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