lvv / git-prompt

bash prompt with GIT, SVN and HG modules
http://volnitsky.com/project/git-prompt
327 stars 97 forks source link

changed files from parent dir leaks into the prompt #42

Open lvv opened 9 years ago

lvv commented 9 years ago

Below cut-n-past shows "cups/" in prompt. It shouldn't becase cups is from parent dir.

git status On branch master Changes not staged for commit: (use "git add ..." to update what will be committed) (use "git checkout -- ..." to discard changes in working directory)

modified:   ../cups/printers.conf
modified:   ../cups/printers.conf.O
modified:   ../cups/subscriptions.conf
modified:   ../cups/subscriptions.conf.O

no changes added to commit (use "git add" and/or "git commit -a") (M=78a58 cups/) root /etc/portage>