Merge branch 'kb/fast-hashmap'
[gitweb.git] / contrib / completion / git-prompt.sh
index 202e2e520f42059c308f196e0c5022c3dbb4a142..7b732d2aeba0e3bca3b42d28f2f8f5730a08ccee 100644 (file)
@@ -111,7 +111,7 @@ __git_ps1_show_upstream ()
                        ;;
                svn-remote.*.url)
                        svn_remote[$((${#svn_remote[@]} + 1))]="$value"
-                       svn_url_pattern+="\\|$value"
+                       svn_url_pattern="$svn_url_pattern\\|$value"
                        upstream=svn+git # default upstream is SVN if available, else git
                        ;;
                esac