We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0df81d8 + 471dcfd commit f47ff5aCopy full SHA for f47ff5a
contrib/completion/git-completion.bash
@@ -94,9 +94,10 @@ __gitdir ()
94
__git_ps1_show_upstream ()
95
{
96
local key value
97
- local svn_remote=() svn_url_pattern count n
+ local svn_remote svn_url_pattern count n
98
local upstream=git legacy="" verbose=""
99
100
+ svn_remote=()
101
# get some config options from git-config
102
local output="$(git config -z --get-regexp '^(svn-remote\..*\.url|bash\.showupstream)$' 2>/dev/null | tr '\0\n' '\n ')"
103
while read -r key value; do
0 commit comments