fixes for if your repo path has spaces in it
This commit is contained in:
parent
1a64700368
commit
2df392e489
1 changed files with 2 additions and 2 deletions
4
bin/g
4
bin/g
|
|
@ -175,10 +175,10 @@ if [ -z "$2" ]; then
|
||||||
else
|
else
|
||||||
read -e -p 'Message: ' -i "$current" msg
|
read -e -p 'Message: ' -i "$current" msg
|
||||||
fi
|
fi
|
||||||
echo "$msg" > $msg_file
|
echo "$msg" > "$msg_file"
|
||||||
set -e
|
set -e
|
||||||
git commit -m "$msg"
|
git commit -m "$msg"
|
||||||
rm $msg_file
|
rm "$msg_file"
|
||||||
else
|
else
|
||||||
# Non-interactive
|
# Non-interactive
|
||||||
msg="${@:2}"
|
msg="${@:2}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue