{"thread":{"id":"53728","subject":"Change `option` in `__git_ps1_show_upstream` to a local variable","startedAt":"2020-06-21T20:52:04Z","lastAt":"2020-06-21T20:52:04Z","messageCount":1,"participants":["Black Lamb"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"400272","messageId":"3fe48de84e2803cbd6c28ba0104230a70ec50087.camel@gmail.com","threadId":"53728","inReplyTo":null,"subject":"Change `option` in `__git_ps1_show_upstream` to a local variable","fromName":"Black Lamb","fromEmail":"notaflyingpig@gmail.com","sentAt":"2020-06-21T20:51:59Z","receivedAt":"2020-06-21T20:52:04Z","isPatch":false,"sender":{"key":"notaflyingpig@gmail.com","avatar":null},"body":"The `option` variable in the `__git_ps1_show_upstream` function in\n`contrib/completion/git-prompt.sh` [1] is not a local variable. Can it\nbe changed to a local variable like the other variables in\n`__git_ps1_show_upstream`?\n\n[1] \nhttps://github.com/git/git/blob/master/contrib/completion/git-prompt.sh#L131\n\n"}]}