summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-03-18 17:16:18 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2010-03-18 17:16:18 +0100
commit4f9d1e6a2401be4bd19585aa277c30bde41fe74d (patch)
tree76eec738a711201f0d0552789ce61d47bf550f59
parenta5f56eaec6fb722bff9a235070b233686337b269 (diff)
ct status: Use git status --short
-rwxr-xr-xbin/ct2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ct b/bin/ct
index 8790f7a..011d950 100755
--- a/bin/ct
+++ b/bin/ct
@@ -297,7 +297,7 @@ function vcs_setup {
function vcs_status (
typeset gitstatus
vcs_setup $1
- gitstatus=$(git status)
+ gitstatus=$(git status --short)
[[ $gitstatus == *'nothing to commit (working directory clean)' ]] && gitstatus=''
echo $gitstatus
)