Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Fix some problems with git enabled prompts where they *always* claim to have untracked files #1661

Merged
merged 1 commit into from Mar 27, 2013

Conversation

Projects
None yet
2 participants
Contributor

hellerbarde commented Mar 13, 2013

the problem was that

grep '^?? '

matches any two characters at the beginning of a line.
so the "## branchname" of a completely clean repository is also matched, which is incorrect.

@robbyrussell robbyrussell added a commit that referenced this pull request Mar 27, 2013

@robbyrussell robbyrussell Merge pull request #1661 from hellerbarde/master
Fix some problems with git enabled prompts where they *always* claim to have untracked files
5cde893

@robbyrussell robbyrussell merged commit 5cde893 into robbyrussell:master Mar 27, 2013

@w31 w31 pushed a commit to w31/oh-my-zsh that referenced this pull request Apr 30, 2014

@robbyrussell robbyrussell Merge pull request #1661 from hellerbarde/master
Fix some problems with git enabled prompts where they *always* claim to have untracked files
b36d8a4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment