Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GIT_SHOW_UNTRACKED_FILES=no not working? #215

Closed
AAraKKe opened this issue Dec 23, 2015 · 1 comment
Closed

GIT_SHOW_UNTRACKED_FILES=no not working? #215

AAraKKe opened this issue Dec 23, 2015 · 1 comment

Comments

@AAraKKe
Copy link

AAraKKe commented Dec 23, 2015

Hi,

I have git managing a project in which I have lots of files that I don't need to track (outputs from the code a lots of binaries generated to be read by other tools) I don't need git to track them but there is no global rule to add them to .gitignore, I would like to avoid the untracked files from showing in the prompt but when I set the variable GIT_SHOW_UNTRACKED_FILES=no it does not seem to be working... is it supposed to avoid to count them?

@magicmonty
Copy link
Owner

Should be fixed now, please note, that I renamed GIT_SHOW_UNTRACKED_FILES to GIT_PROMPT_SHOW_UNTRACKED_FILES!
Also it is now possible to disable this on a per repository basis in the .bash-git-rc in your repository

amjames pushed a commit to amjames/bash-git-prompt that referenced this issue May 2, 2016
* Fixed the bug, than GIT_SHOW_UNTRACKED_FILES=no was not respected
* Renamed GIT_SHOW_UNTRACKED_FILES to GIT_PROMPT_SHOW_UNTRACKED_FILES as
  this is more consistent to the other environment variables
* GIT_PROMPT_SHOW_UNTRACKED_FILES can be now also set on a per
  repository basis in .bash-git-rc
* Updated README

Fixes magicmonty#215 and 216
quilicicf pushed a commit to quilicicf/bash-git-prompt that referenced this issue May 13, 2017
* Fixed the bug, than GIT_SHOW_UNTRACKED_FILES=no was not respected
* Renamed GIT_SHOW_UNTRACKED_FILES to GIT_PROMPT_SHOW_UNTRACKED_FILES as
  this is more consistent to the other environment variables
* GIT_PROMPT_SHOW_UNTRACKED_FILES can be now also set on a per
  repository basis in .bash-git-rc
* Updated README

Fixes magicmonty#215 and 216
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants