зеркало из https://github.com/microsoft/git.git
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()
This commit is contained in:
Коммит
35b5a8b769
|
@ -270,7 +270,7 @@ __git_ps1_colorize_gitstring ()
|
|||
|
||||
__git_eread ()
|
||||
{
|
||||
f="$1"
|
||||
local f="$1"
|
||||
shift
|
||||
test -r "$f" && read "$@" <"$f"
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче