-
Notifications
You must be signed in to change notification settings - Fork 967
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
Prompt shows all files as changed #480
Comments
I had this issue as well, and I started running some of the bash functions manually, and then I discovered it was working correctly again, but I have no idea why and can't reproduce the error. The functions I ran were git_prompt_dir and updatePrompt but I don't know why those would have fixed it -- both my existing shells and brand new shells all of a sudden started working so I don't know how it could be that. I'm running bash-git-prompt 2.7.1 and git 2.24.3 fwiw |
We faced this issue in a project using nix shell because it modifies When Could we only use |
…n termux) Private index was tried to create in nonexistent location, no error was ever displayed, and then unconditionally GIT_INDEX_FILE variable was set pointing to nonexistent path. Git used this location and reported many changed files. It is common on Android devices - there is no /tmp directory Termux creates one and sets TMPDIR variable, which is commonly honored by most of unix utilities. Fixes issue #338 - Fixes behaviour if `/tmp` dir does not exist
I have an issue that the git prompt shows every file as changed, while there are no changes, for example:
The text was updated successfully, but these errors were encountered: