summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlogerrit3
1 files changed, 2 insertions, 1 deletions
diff --git a/logerrit b/logerrit
index 851af7de1f32..cc24c767e76a 100755
--- a/logerrit
+++ b/logerrit
@@ -159,7 +159,8 @@ case "$1" in
;;
esac
read -p "please type a friendly comment$MESSAGEREQ: " MESSAGE
- echo ssh ${GERRITHOST?} gerrit review -m '\"'$MESSAGE'\"' $VERIFIEDFLAG $CODEREVIEWFLAG $CHANGEID
+ get_SHA_for_change $CHANGEID
+ ssh ${GERRITHOST?} gerrit review -m \"$MESSAGE\" $VERIFIEDFLAG $CODEREVIEWFLAG $SHA
;;
checkout)
get_SHA_for_change $2