bash-git-prompt icon indicating copy to clipboard operation
bash-git-prompt copied to clipboard

Add HOME environment variable to git status call

Open jcjf opened this issue 5 years ago • 1 comments

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.

jcjf avatar Jun 28 '20 14:06 jcjf

This change fixed my problem with not considering global .gitignore, thanks!

pbetkier avatar Aug 10 '22 15:08 pbetkier

@jcjf Thx for your contiribution

guenhter avatar Oct 13 '22 15:10 guenhter