Permalink
Browse files

update git-dirty for git 1.8

  • Loading branch information...
1 parent 7c946cc commit 4b6cd05c829c91126b73019a016f9d060fc61ca6 @apucacao committed Oct 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bash_profile
View
@@ -42,7 +42,7 @@ function git-branch-name {
function git-dirty {
st=$(git status 2>/dev/null | tail -n 1)
- if [[ $st != "nothing to commit (working directory clean)" ]]
+ if [[ $st != "nothing to commit, working directory clean" ]]
then
echo "*"
fi

0 comments on commit 4b6cd05

Please sign in to comment.