diff options
author | SZEDER Gábor <szeder@ira.uka.de> | 2011-11-09 11:02:50 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-11-09 05:44:05 -0800 |
commit | 4804d437916d08068143dfc265cc7b5e2f4883e6 (patch) | |
tree | 6fbe88da4d83f1641c0625034a8c604632290f9c /t/t4100/t-apply-9.patch | |
parent | completion: fix issue with process substitution not working on Git for Windows (diff) | |
download | tgif-4804d437916d08068143dfc265cc7b5e2f4883e6.tar.xz |
completion: don't leak variable from the prompt into environment
Commit e5b8eebc (completion: fix issue with process substitution not
working on Git for Windows, 2011-10-26) introduced a new variable in
__git_ps1_show_upstream(), but didn't declare it as local to prevent it
from leaking into the environment.
We may want to rewrite it like the following, but that can wait until the
next cycle.
while read key value
do
...
done <<-EOF
$(git config -z --get-regexp ...)
EOF
Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4100/t-apply-9.patch')
0 files changed, 0 insertions, 0 deletions