From: Rudy YAYON Date: Tue, 12 Apr 2016 07:16:34 GMT Subject: [PATCH] There was a little inconsistancy in git prompt Message-ID: <01020154095436db-40246224-5586-4e95-b5f7-59b27928ffa8-000000@eu-west-1.amazonses.com> --- contrib/completion/git-prompt.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/contrib/completion/git-prompt.sh b/contrib/completion/git-prompt.sh index 07b52be..18be99f 100644 --- a/contrib/completion/git-prompt.sh +++ b/contrib/completion/git-prompt.sh @@ -194,13 +194,13 @@ __git_ps1_show_upstream () "") # no upstream p="" ;; "0 0") # equal to upstream - p="=" ;; + p=" =" ;; "0 "*) # ahead of upstream - p=">" ;; + p=" >" ;; *" 0") # behind upstream - p="<" ;; + p=" <" ;; *) # diverged from upstream - p="<>" ;; + p=" <>" ;; esac else case "$count" in -- https://github.com/git/git/pull/181