From 67e7d6a08b03beb88ea028117babde9fd2c6379c Mon Sep 17 00:00:00 2001 From: oGre Date: Tue, 13 Oct 2015 18:43:44 +0200 Subject: [PATCH] Fixed bug where not all untracked files in folders were shown --- gitstatus.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitstatus.sh b/gitstatus.sh index 9f345e5..95d312a 100755 --- a/gitstatus.sh +++ b/gitstatus.sh @@ -15,7 +15,7 @@ if [ -z "${__GIT_PROMPT_DIR}" ]; then __GIT_PROMPT_DIR="$( cd -P "$( dirname "${SOURCE}" )" && pwd )" fi -gitstatus=$( LC_ALL=C git status --porcelain --branch ) +gitstatus=$( LC_ALL=C git status --untracked-files=all --porcelain --branch ) # if the status is fatal, exit now [[ "$?" -ne 0 ]] && exit 0