Commit f7eda90a authored by David Spencer's avatar David Spencer

[review] Implement 'okp' (commit && push).

parent c2803641
......@@ -434,14 +434,6 @@ case "${TASK##-}" in
review_list
;;
push|p)
shift
while [ -n "${1:-}" ] ; do
review_push "$1"
shift
done
;;
extract|x)
shift
while [ -n "${1:-}" ] ; do
......@@ -492,6 +484,22 @@ case "${TASK##-}" in
done
;;
push|p)
shift
while [ -n "${1:-}" ] ; do
review_push "$1"
shift
done
;;
okp)
shift
while [ -n "${1:-}" ] ; do
review_commit "$1" && review_push "$1"
shift
done
;;
help|h|'')
echo "${CMD}: Usage: ${CMD} sync|list|extract|cleanup|lint|build|ok [arg...]" >&2; exit 0
;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment