bash prompt: don't use '+=' operator in show upstream code path

The '+=' operator is not supported by old Bash versions (3.0) we still care about. Signed-off-by: SZEDER Gábor <szeder@ira.uka.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>

SZEDER Gábor committed Oct 15, 2013 at 14:21 UTC 52ec889d1ab3405796dd4fb4c262f950927a6b71
1 file changed +1 -1
contrib/completion/git-prompt.sh
+1 -1
@@ -110,7 +110,7 @@ __git_ps1_show_upstream ()
110 ;;
111 svn-remote.*.url)
112 svn_remote[$((${#svn_remote[@]} + 1))]="$value"
113 - svn_url_pattern+="\\|$value"
113 + svn_url_pattern="$svn_url_pattern\\|$value"
114 upstream=svn+git # default upstream is SVN if available, else git
115 ;;
116 esac