]> git.ipfire.org Git - thirdparty/git.git/commitdiff
git-prompt: document how in-progress operations affect the prompt
authorElijah Newren <newren@gmail.com>
Sun, 21 Jun 2020 05:21:26 +0000 (05:21 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Jun 2020 16:29:59 +0000 (09:29 -0700)
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-prompt.sh

index 014cd7c3cfcc99f837b0bd1a3086b2d32272caf0..179b96e493615009a58cc6f1a06ef2b76458ee50 100644 (file)
 # 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 "|<OPERATION-NAME>".
+#
 # 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