From 30b00f009c28d595fba967bbf33a9c4031b3292b Mon Sep 17 00:00:00 2001 From: Elijah Newren Date: Sun, 21 Jun 2020 05:21:26 +0000 Subject: [PATCH] git-prompt: document how in-progress operations affect the prompt Signed-off-by: Elijah Newren Signed-off-by: Junio C Hamano --- contrib/completion/git-prompt.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/contrib/completion/git-prompt.sh b/contrib/completion/git-prompt.sh index 014cd7c3cf..179b96e493 100644 --- a/contrib/completion/git-prompt.sh +++ b/contrib/completion/git-prompt.sh @@ -70,6 +70,10 @@ # state symbols by setting GIT_PS1_STATESEPARATOR. The default separator # is SP. # +# When there is an in-progress operation such as a merge, rebase, +# revert, cherry-pick, or bisect, the prompt will include information +# related to the operation, often in the form "|". +# # 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