summaryrefslogtreecommitdiff
path: root/contrib/completion
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2015-07-15 11:41:26 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-07-15 11:41:26 -0700
commit51d5980ea019a28b38d2f9612314daf3ea536e82 (patch)
treee8be8ca660b3e9ce704a078d3ef4192b5ec38bc5 /contrib/completion
parentMerge branch 'es/osx-header-pollutes-mask-macro' into maint (diff)
parentgit-prompt.sh: document GIT_PS1_STATESEPARATOR (diff)
downloadtgif-51d5980ea019a28b38d2f9612314daf3ea536e82.tar.xz
Merge branch 'jc/prompt-document-ps1-state-separator' into maint
Docfix. * jc/prompt-document-ps1-state-separator: git-prompt.sh: document GIT_PS1_STATESEPARATOR
Diffstat (limited to 'contrib/completion')
-rw-r--r--contrib/completion/git-prompt.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/completion/git-prompt.sh b/contrib/completion/git-prompt.sh
index f18aedc73b..366f0bc1e9 100644
--- a/contrib/completion/git-prompt.sh
+++ b/contrib/completion/git-prompt.sh
@@ -66,6 +66,10 @@
# git always compare HEAD to @{upstream}
# svn always compare HEAD to your SVN upstream
#
+# You can change the separator between the branch name and the above
+# state symbols by setting GIT_PS1_STATESEPARATOR. The default separator
+# is SP.
+#
# By default, __git_ps1 will compare HEAD to your SVN upstream if it can
# find one, or @{upstream} otherwise. Once you have set
# GIT_PS1_SHOWUPSTREAM, you can override it on a per-repository basis by