{"thread":{"id":"41999","subject":"[PATCH] There was a little inconsistancy in git prompt","startedAt":"2016-04-12T07:16:34Z","lastAt":"2016-04-12T15:27:39Z","messageCount":2,"participants":["Rudy YAYON","Todd Zullinger"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"283170","messageId":"01020154095436db-40246224-5586-4e95-b5f7-59b27928ffa8-000000@eu-west-1.amazonses.com","threadId":"41999","inReplyTo":null,"subject":"[PATCH] There was a little inconsistancy in git prompt","fromName":"Rudy YAYON","fromEmail":"ryayon@outlook.com","sentAt":"2016-04-12T07:16:34Z","receivedAt":"2016-04-12T07:16:34Z","isPatch":true,"sender":{"key":"ryayon@outlook.com","avatar":null},"body":"---\n contrib/completion/git-prompt.sh | 8 ++++----\n 1 file changed, 4 insertions(+), 4 deletions(-)\n\ndiff --git a/contrib/completion/git-prompt.sh b/contrib/completion/git-prompt.sh\nindex 07b52be..18be99f 100644\n--- a/contrib/completion/git-prompt.sh\n+++ b/contrib/completion/git-prompt.sh\n@@ -194,13 +194,13 @@ __git_ps1_show_upstream ()\n \t\t\"\") # no upstream\n \t\t\tp=\"\" ;;\n \t\t\"0\t0\") # equal to upstream\n-\t\t\tp=\"=\" ;;\n+\t\t\tp=\" =\" ;;\n \t\t\"0\t\"*) # ahead of upstream\n-\t\t\tp=\">\" ;;\n+\t\t\tp=\" >\" ;;\n \t\t*\"\t0\") # behind upstream\n-\t\t\tp=\"<\" ;;\n+\t\t\tp=\" <\" ;;\n \t\t*)\t    # diverged from upstream\n-\t\t\tp=\"<>\" ;;\n+\t\t\tp=\" <>\" ;;\n \t\tesac\n \telse\n \t\tcase \"$count\" in\n\n--\nhttps://github.com/git/git/pull/181\n"},{"id":"283190","messageId":"20160412152739.GL15513@zaya.teonanacatl.net","threadId":"41999","inReplyTo":"01020154095436db-40246224-5586-4e95-b5f7-59b27928ffa8-000000@eu-west-1.amazonses.com","subject":"Re: [PATCH] There was a little inconsistancy in git prompt","fromName":"Todd Zullinger","fromEmail":"tmz@pobox.com","sentAt":"2016-04-12T15:27:39Z","receivedAt":"2016-04-12T15:27:39Z","isPatch":true,"sender":{"key":"tmz@pobox.com","avatar":"https://avatars.githubusercontent.com/u/806319?v=4"},"body":"Hi Rudy,\n\nI think the commit subject should include a bit more detail.  Ideally, \nthe subject would start with 'bash prompt: ' to make it clear what \narea the commit involves.  Then you would want to describe what \ninconsistency is being fixed (and why).\n\nRudy YAYON wrote:\n> ---\n> contrib/completion/git-prompt.sh | 8 ++++----\n> 1 file changed, 4 insertions(+), 4 deletions(-)\n>\n> diff --git a/contrib/completion/git-prompt.sh b/contrib/completion/git-prompt.sh\n> index 07b52be..18be99f 100644\n> --- a/contrib/completion/git-prompt.sh\n> +++ b/contrib/completion/git-prompt.sh\n> @@ -194,13 +194,13 @@ __git_ps1_show_upstream ()\n> \t\t\"\") # no upstream\n> \t\t\tp=\"\" ;;\n> \t\t\"0\t0\") # equal to upstream\n> -\t\t\tp=\"=\" ;;\n> +\t\t\tp=\" =\" ;;\n> \t\t\"0\t\"*) # ahead of upstream\n> -\t\t\tp=\">\" ;;\n> +\t\t\tp=\" >\" ;;\n> \t\t*\"\t0\") # behind upstream\n> -\t\t\tp=\"<\" ;;\n> +\t\t\tp=\" <\" ;;\n> \t\t*)\t    # diverged from upstream\n> -\t\t\tp=\"<>\" ;;\n> +\t\t\tp=\" <>\" ;;\n> \t\tesac\n> \telse\n> \t\tcase \"$count\" in\n\nI attempted to solve this a while back (longer than I realized, now \nthat I found the previous thread):\n\nhttp://thread.gmane.org/gmane.comp.version-control.git/169330\n\nJunio had some comments and suggestions, which I lacked time to follow \nup on, it appears. (I thought there was more discussion but it must \nhave all been in my head. ;)\n\n-- \nTodd\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nWhen I think about all the crap I learned in high school ... it's a\nwonder I can think at all.\n    -- Paul Simon\n"}]}