{"thread":{"id":"44118","subject":"[PATCH] git-check-ref-format.txt: fixup documentation","startedAt":"2016-09-20T07:33:24Z","lastAt":"2016-09-21T18:12:57Z","messageCount":2,"participants":["Elia Pinto","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"302218","messageId":"20160920073314.22485-1-gitter.spiros@gmail.com","threadId":"44118","inReplyTo":null,"subject":"[PATCH] git-check-ref-format.txt: fixup documentation","fromName":"Elia Pinto","fromEmail":"gitter.spiros@gmail.com","sentAt":"2016-09-20T07:33:14Z","receivedAt":"2016-09-20T07:33:24Z","isPatch":true,"sender":{"key":"gitter.spiros@gmail.com","avatar":"https://avatars.githubusercontent.com/u/158490?v=4"},"body":"die is not a standard shell function. Use\na different shell code for the example.\n\nSigned-off-by: Elia Pinto <gitter.spiros@gmail.com>\n---\n Documentation/git-check-ref-format.txt | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)\n\ndiff --git a/Documentation/git-check-ref-format.txt b/Documentation/git-check-ref-format.txt\nindex 91a3622..8611a99 100644\n--- a/Documentation/git-check-ref-format.txt\n+++ b/Documentation/git-check-ref-format.txt\n@@ -118,8 +118,8 @@ $ git check-ref-format --branch @{-1}\n * Determine the reference name to use for a new branch:\n +\n ------------\n-$ ref=$(git check-ref-format --normalize \"refs/heads/$newbranch\") ||\n-die \"we do not like '$newbranch' as a branch name.\"\n+$ ref=$(git check-ref-format --normalize \"refs/heads/$newbranch\")||\n+{ echo \"we do not like '$newbranch' as a branch name.\" >&2 ; exit 1 ; }\n ------------\n \n GIT\n-- \n2.10.0.645.gc4ba6eb\n\n"},{"id":"302309","messageId":"xmqqponx86l9.fsf@gitster.mtv.corp.google.com","threadId":"44118","inReplyTo":"20160920073314.22485-1-gitter.spiros@gmail.com","subject":"Re: [PATCH] git-check-ref-format.txt: fixup documentation","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2016-09-21T18:12:50Z","receivedAt":"2016-09-21T18:12:57Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Elia Pinto <gitter.spiros@gmail.com> writes:\n\n> die is not a standard shell function. Use\n> a different shell code for the example.\n\nThanks.\n"}]}