summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-03-18 18:35:50 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2010-03-18 18:35:50 +0100
commita41e7b53b629c28553f5a0717388ade214d0ba75 (patch)
treeb3662c19d55b57577e0494fbc0c1ab1ce8364a8a
parent4f9d1e6a2401be4bd19585aa277c30bde41fe74d (diff)
vcs_status: Remove $gitstatus check, it's not neccessary with --short
-rwxr-xr-xbin/ct4
1 files changed, 1 insertions, 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 (