From d029991234516200a57de83370acad2333f2798b Mon Sep 17 00:00:00 2001 From: Jeremy Soller <jackpot51@gmail.com> Date: Wed, 11 Oct 2017 20:34:11 -0600 Subject: [PATCH] Use color and --stat for status command --- cook.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cook.sh b/cook.sh index 9d9dfb052..74660096e 100755 --- a/cook.sh +++ b/cook.sh @@ -123,7 +123,7 @@ function op { true elif [ -n "$GIT" ] then - git -C source diff --name-status + git -C source diff --stat --color fi ;; status_origin) @@ -131,9 +131,9 @@ function op { then if [ -n "$BRANCH" ] then - git -C source diff --name-status "origin/$BRANCH" + git -C source diff --stat --color "origin/$BRANCH" else - git -C source diff --name-status "origin/master" + git -C source diff --stat --color "origin/master" fi fi ;; @@ -142,9 +142,9 @@ function op { then if [ -n "$BRANCH" ] then - git -C source diff --name-status "upstream/$BRANCH" + git -C source diff --stat --color "upstream/$BRANCH" else - git -C source diff --name-status "upstream/master" + git -C source diff --stat --color "upstream/master" fi fi ;; -- GitLab