update do-rebase for newer git
Signed-off-by: Peter Jones <pjones@redhat.com>
This commit is contained in:
parent
ced107a476
commit
5c99bbbbf1
@ -15,7 +15,7 @@ usage()
|
|||||||
exit $retcode
|
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
|
echo "Working directory is not clean, cannot rebase." 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user