Commit 412d08f5 authored by Vitaly Lipatov's avatar Vitaly Lipatov

gitask: convert space(s) in messages to underscores

parent d7eaa944
...@@ -173,7 +173,7 @@ if [ "$1" = "commit" ] ; then ...@@ -173,7 +173,7 @@ if [ "$1" = "commit" ] ; then
MESSAGE='' MESSAGE=''
if [ "$1" = "-m" ] ; then if [ "$1" = "-m" ] ; then
MESSAGE="$1 $2" MESSAGE="$1 ${2/ /_}"
shift 2 shift 2
fi fi
...@@ -210,7 +210,7 @@ if [ "$1" = "run" ] ; then ...@@ -210,7 +210,7 @@ if [ "$1" = "run" ] ; then
if echo "$1" | grep -qv "^-" ; then if echo "$1" | grep -qv "^-" ; then
TASK="$1" TASK="$1"
elif [ "$1" = "-m" ] ; then elif [ "$1" = "-m" ] ; then
MESSAGE="$1 $2" MESSAGE="$1 ${2/ /_}"
shift shift
elif [ "$1" = "--commit" ] ; then elif [ "$1" = "--commit" ] ; then
COMMIT=1 COMMIT=1
......
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