git-prompt: put upstream comments together
commit094b5409eadd064110f3e74d880fad91e9ca0f0b
authorJustin Donnelly <justinrdonnelly@gmail.com>
Sun, 27 Feb 2022 19:57:12 +0000 (27 19:57 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 23 Mar 2022 20:07:50 +0000 (23 13:07 -0700)
treebcfa2f1fb4ea908e634ff702dc4f0d95371383e1
parent51d2d677909c031969f82c1c5ef1cc261a9990b3
git-prompt: put upstream comments together

Commit 6d158cba28 (bash completion: Support "divergence from upstream"
messages in __git_ps1, 2010-06-17) introduced support for indicating
divergence from upstream in the PS1 prompt. The comments at the top of
git-prompt.sh that were introduced with that commit are several
paragraphs long. Over the years, other comments have been inserted in
between the paragraphs relating to divergence from upstream.

This commit puts the comments relating to divergence from upstream back
together.

Signed-off-by: Justin Donnelly <justinrdonnelly@gmail.com>
Reviewed-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-prompt.sh