Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit 9f279af

Browse files
committed
Merge branch 'sg/prompt-svn-remote-fix'
Bash portability fix. * sg/prompt-svn-remote-fix: bash prompt: don't use '+=' operator in show upstream code path
2 parents 2125261 + 52ec889 commit 9f279af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/completion/git-prompt.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ __git_ps1_show_upstream ()
111111
;;
112112
svn-remote.*.url)
113113
svn_remote[$((${#svn_remote[@]} + 1))]="$value"
114-
svn_url_pattern+="\\|$value"
114+
svn_url_pattern="$svn_url_pattern\\|$value"
115115
upstream=svn+git # default upstream is SVN if available, else git
116116
;;
117117
esac

0 commit comments

Comments
 (0)