{"thread":{"id":"42541","subject":"Re: [PATCH 1/2] git-prompt.sh: Don't error on null ${ZSH,BASH}_VERSION, $short_sha","startedAt":"2016-06-06T16:33:12Z","lastAt":"2016-06-06T16:33:12Z","messageCount":1,"participants":["Ville Skyttä"],"isPatch":true,"patchVersion":1,"patchTotal":2},"messages":[{"id":"288452","messageId":"CABr9L5A1i9Qiood7RnBiSOKAGOPLd+-Nh2b0B73RuFwVJygbKQ@mail.gmail.com","threadId":"42541","inReplyTo":null,"subject":"Re: [PATCH 1/2] git-prompt.sh: Don't error on null ${ZSH,BASH}_VERSION, $short_sha","fromName":"Ville Skyttä","fromEmail":"ville.skytta@iki.fi","sentAt":"2016-06-06T16:33:12Z","receivedAt":"2016-06-06T16:33:12Z","isPatch":true,"sender":{"key":"ville.skytta@iki.fi","avatar":"https://avatars.githubusercontent.com/u/109152?v=4"},"body":"On Mon, Jun 6, 2016 at 7:29 PM, Ville Skyttä <ville.skytta@iki.fi> wrote:\n> When the shell is in \"nounset\" or \"set -u\" mode, referencing unset or\n> null variables results in an error. Protect $ZSH_VERSION and\n> $BASH_VERSION against that, and initialize $short_sha before use.\n\nNo part 2/2 will be coming, 1/2 is all there is to this change, sorry\nabout the confusion.\n"}]}