Fixed bug where not all untracked files in folders were shown

master
oGre 10 years ago
parent c9e576b961
commit 67e7d6a08b
  1. 2
      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

Loading…
Cancel
Save