{"thread":{"id":"23978","subject":"Documentation on writing portable code for Git","startedAt":"2010-06-02T09:42:50Z","lastAt":"2010-06-02T09:42:50Z","messageCount":1,"participants":["Ævar Arnfjörð Bjarmason"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"142803","messageId":"AANLkTinqWn9i5CFDW_62eSu6xSH2hqef2aLJ7pYAiGVk@mail.gmail.com","threadId":"23978","inReplyTo":null,"subject":"Documentation on writing portable code for Git","fromName":"Ævar Arnfjörð Bjarmason","fromEmail":"avarab@gmail.com","sentAt":"2010-06-02T09:42:50Z","receivedAt":"2010-06-02T09:42:50Z","isPatch":false,"sender":{"key":"avarab@gmail.com","avatar":"https://avatars.githubusercontent.com/u/45301?v=4"},"body":"On Wed, Jun 2, 2010 at 06:41, Johannes Sixt <j.sixt@viscovery.net> wrote:\n> Am 6/2/2010 2:13, schrieb Brandon Casey:\n>>  test_expect_success 'setup' '\n>> -     unset GIT_PAGER GIT_PAGER_IN_USE &&\n>> +     unset GIT_PAGER GIT_PAGER_IN_USE\n>\n> Maybe we should terminate the line with ';' to document that it is a\n> deliberate choice that there is no '&&'?\n\n(Split from the \"ignore return status of shell's unset builtin\"\nthread)\n\nIt would be nice if there was documentation describing how to write\nportable code for various parts of Git. Basically a bullet-point\naggregate of the subjects of various patches we keep getting from\nusers of IRIX, Solaris, HP-UX etc. E.g:\n\n    * Use FOO=bar and then export FOO, not export FOO=bar\n\n    * Don't check the return value of unset, Solaris ...\n\nI could contribute some of these for Perl.\n"}]}