From a41e7b53b629c28553f5a0717388ade214d0ba75 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 18 Mar 2010 18:35:50 +0100 Subject: vcs_status: Remove $gitstatus check, it's not neccessary with --short --- bin/ct | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bin/ct b/bin/ct index 011d950..e7a4fa2 100755 --- a/bin/ct +++ b/bin/ct @@ -297,9 +297,7 @@ function vcs_setup { function vcs_status ( typeset gitstatus vcs_setup $1 - gitstatus=$(git status --short) - [[ $gitstatus == *'nothing to commit (working directory clean)' ]] && gitstatus='' - echo $gitstatus + git status --short ) function vcs_to_list ( -- cgit v1.2.3