From 402e56cdffe222a74f64a5c9301e0726d653b4ec Mon Sep 17 00:00:00 2001 From: Will Hilton Date: Thu, 11 Feb 2016 19:31:10 -0500 Subject: [PATCH] Fix g commit so it takes all the arguments as the message not just the first. --- bin/g | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/g b/bin/g index e2e0c45..22d4745 100644 --- a/bin/g +++ b/bin/g @@ -137,7 +137,8 @@ if [ -z "$2" ]; then read -ep 'Message: ' msg git commit -m "$msg" else - git commit -m "$2" + msg="${@:2}" + git commit -m "$msg" fi ;;