From eb0a4c73156c9038107bc4454b40637065e03f9e Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Sat, 22 Jul 2017 13:26:36 -0600 Subject: [PATCH] Use long format for git status, add message when not a git repo --- status.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/status.sh b/status.sh index e3ca9fd70..72596a671 100755 --- a/status.sh +++ b/status.sh @@ -15,6 +15,8 @@ do echo -e "\e[1m$recipe\e[0m" if [ -d "recipes/$recipe/source/.git" ] then - git -C "recipes/$recipe/source" status -s + git -C "recipes/$recipe/source" status + else + echo "Not a GIT repository" fi done