bash-git-prompt
bash-git-prompt copied to clipboard
Add HOME environment variable to git status call
Currently, the call to subprocess.Popen() only passes LC_ALL to the child process. As a result, git will ignore the user-specified global .gitignore file and report untracked files incorrectly.
Alternatively, the child process could inherit all environment variables and then override LC_ALL.
This change fixed my problem with not considering global .gitignore, thanks!
@jcjf Thx for your contiribution