From 573a1c8b75c03c91865572fef2244b134a472011 Mon Sep 17 00:00:00 2001 From: Toshiyuki Kawanishi Date: Fri, 19 Nov 2010 07:18:36 -0800 Subject: [PATCH] --- git-now | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/git-now b/git-now index 55a0625..b5e27e5 100644 --- a/git-now +++ b/git-now @@ -6,11 +6,11 @@ MESSAGE="[${PREFIX}] `date`" if [ $# -eq 0 ] then git add -u - echo -e "${MESSAGE}\n\n`git diff --cached`" | git commit -F - + echo "${MESSAGE}\n\n`git diff --cached`" | git commit -F - elif [ $1 != "--rebase" ] then git add $@ - echo -e "${MESSAGE}\n\n`git diff --cached`" | git commit -F - + echo "${MESSAGE}\n\n`git diff --cached`" | git commit -F - else FIRST_NOW_COMMIT=`git log --pretty=oneline --grep "${PREFIX}" | tail -n 1 | cut -d " " -f 1` INITIAL_COMMIT=`git log --pretty=oneline | tail -n 1 | cut -d " " -f 1`