Skip to content

Commit d70bc3b

Browse files
committed
Merge branch 'jc/prompt-document-ps1-state-separator'
Docfix. * jc/prompt-document-ps1-state-separator: git-prompt.sh: document GIT_PS1_STATESEPARATOR
2 parents 15b3f71 + ab7fade commit d70bc3b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

contrib/completion/git-prompt.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@
6666
# git always compare HEAD to @{upstream}
6767
# svn always compare HEAD to your SVN upstream
6868
#
69+
# You can change the separator between the branch name and the above
70+
# state symbols by setting GIT_PS1_STATESEPARATOR. The default separator
71+
# is SP.
72+
#
6973
# By default, __git_ps1 will compare HEAD to your SVN upstream if it can
7074
# find one, or @{upstream} otherwise. Once you have set
7175
# GIT_PS1_SHOWUPSTREAM, you can override it on a per-repository basis by

0 commit comments

Comments
 (0)