提交 35b5a8b7 编写于 作者: J Junio C Hamano

Merge branch 'jg/prompt-localize-temporary'

"git-prompt" (in contrib/) used a variable from the global scope,
possibly contaminating end-user's namespace.

* jg/prompt-localize-temporary:
  git-prompt.sh: make $f local to __git_eread()
......@@ -270,7 +270,7 @@ __git_ps1_colorize_gitstring ()
__git_eread ()
{
f="$1"
local f="$1"
shift
test -r "$f" && read "$@" <"$f"
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册