From a57d3dd979592fe174243144df4a91297ccd6606 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 3 Mar 2014 08:56:46 -0500 Subject: [PATCH] feature(log) process output --- shell/log.sh | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/shell/log.sh b/shell/log.sh index 6f0a0f13..1ae47700 100755 --- a/shell/log.sh +++ b/shell/log.sh @@ -1,8 +1,14 @@ #!/bin/sh if test -z $1 then - echo "log.sh " + echo 'log.sh ' else - git log $1..HEAD --pretty=format:"- %s" --grep fix - git log $1..HEAD --pretty=format:"- %s" --grep feature + echo 'fix:' + git log $1..HEAD --pretty=format:"- %s" --grep fix | sed 's/fix//g' + echo '\n' + + echo 'feature:' + git log $1..HEAD --pretty=format:"- %s" --grep feature | sed 's/feature//g' + + echo '\n\n' fi