twolfson / sexy-bash-prompt

Bash prompt with colors, git statuses, and git branches.
MIT License
1.14k stars 155 forks source link

Add test for `is_on_git` is true for `git init`d directories #4

Closed twolfson closed 11 years ago

twolfson commented 11 years ago

At 187d2be, we were returning a false negative that a directory with git init is not on git. In 0.10.0, we patched this but have yet to write a test for it. Write a test for it.