You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-28 05:03:59 +03:00
Review comments
This commit is contained in:
@@ -32,15 +32,12 @@ if [ "$ret" -eq 0 ]; then
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ret=0
|
if ! git diff-index --quiet --cached HEAD; then
|
||||||
git diff-index --quiet --cached HEAD || ret=$?
|
|
||||||
if [ "$ret" -eq 1 ]; then
|
|
||||||
echo "this git checkout has staged (uncommitted) changes. Refusing to release."
|
echo "this git checkout has staged (uncommitted) changes. Refusing to release."
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
git diff-files --quiet || ret=$?
|
if ! git diff-files --quiet; then
|
||||||
if [ "$ret" -eq 1 ]; then
|
|
||||||
echo "this git checkout has uncommitted changes. Refusing to release."
|
echo "this git checkout has uncommitted changes. Refusing to release."
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user