Skip to content

Commit f9db192

Browse files
letogitster
authored andcommitted
Improve the description of GIT_PS1_SHOWUPSTREAM
Describe what '=' means in the output of __git_ps1 when using GIT_PS1_SHOWUPSTREAM, which was not previously described. Signed-off-by: Jonathan "Duke" Leto <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 8ef2794 commit f9db192

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

contrib/completion/git-prompt.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,10 @@
3434
#
3535
# If you would like to see the difference between HEAD and its upstream,
3636
# set GIT_PS1_SHOWUPSTREAM="auto". A "<" indicates you are behind, ">"
37-
# indicates you are ahead, and "<>" indicates you have diverged. You
38-
# can further control behaviour by setting GIT_PS1_SHOWUPSTREAM to a
39-
# space-separated list of values:
37+
# indicates you are ahead, "<>" indicates you have diverged and "="
38+
# indicates that there is no difference. You can further control
39+
# behaviour by setting GIT_PS1_SHOWUPSTREAM to a space-separated list
40+
# of values:
4041
#
4142
# verbose show number of commits ahead/behind (+/-) upstream
4243
# legacy don't use the '--count' option available in recent

0 commit comments

Comments
 (0)