Commit bd17b6c1 authored by Vitaly Lipatov's avatar Vitaly Lipatov

gitask: use last task for show as default

parent 9dd9ff3f
......@@ -199,6 +199,17 @@ if [ "$1" = "commit" ] ; then
exit
fi
if [ "$1" = "show" ] ; then
shift
COMMIT=''
TASKLIST="$1"
if [ -z "$TASKLIST" ] ; then
TASKLIST="$(get_last)" || fatal "Can't get last task"
fi
docmd ssh $GEARHOST task show "$TASKLIST"
exit
fi
if [ "$1" = "run" ] ; then
shift
......
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