Skip to content
Snippets Groups Projects
Commit 2f534cf6 authored by Sven Mäder's avatar Sven Mäder :speech_balloon:
Browse files

Add temporary git_status fix for jessie

parent b91a22a1
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ function envrcd_function_git_status {
elif [[ ${GITSTATUS} =~ "must be run in a work tree" ]]; then
# Bare git repo
GITSTAT=""
elif [[ ${GITSTATUS} =~ "working tree clean" ]]; then
elif [[ ${GITSTATUS} =~ working\ (tree|directory)\ clean ]]; then
# Clean repo
GITSTAT="${PRE_CLEAN}${GITBRANCH}${POST}"
# Display only if not on master branch
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment