Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jc/prompt-document-ps1-state-separator'
author
Junio C Hamano
<gitster@pobox.com>
Wed, 1 Jul 2015 21:02:32 +0000
(14:02 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 1 Jul 2015 21:02:32 +0000
(14:02 -0700)
Docfix.
* jc/prompt-document-ps1-state-separator:
git-prompt.sh: document GIT_PS1_STATESEPARATOR
contrib/completion/git-prompt.sh
patch
|
blob
|
history
raw
(from parent 1:
15b3f71
)
diff --git
a/contrib/completion/git-prompt.sh
b/contrib/completion/git-prompt.sh
index f18aedc73be9daf4aab564beecb7bae29ea759c9..366f0bc1e9b5597f1714574700452cd241c14f8d 100644
(file)
--- 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