Skip to content

Commit bd044df

Browse files
committed
Merge pull request rtomayko#24 from hhulkko/master
Fix _git_dirty
2 parents 8007693 + 4d656bd commit bd044df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-sh.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ ANSI_RESET="\001$(git config --get-color "" "reset")\002"
183183

184184
# detect whether the tree is in a dirty state. returns
185185
_git_dirty() {
186-
if git status 2>/dev/null | fgrep -q '(working directory clean)'; then
186+
if git status 2>/dev/null | fgrep -q 'working directory clean'; then
187187
return 0
188188
fi
189189
local dirty_marker="`git config gitsh.dirty || echo ' *'`"

0 commit comments

Comments
 (0)