)]}'
{
  "commit": "d38722eb103d101e05f42fba0bd40e06726d9e46",
  "tree": "e38d9f10fd4bf9215d9d79d1510d64ae83bdcbda",
  "parents": [
    "0d0ac3826a3bbb9247e39e12623bbcfdd722f24c"
  ],
  "author": {
    "name": "Ævar Arnfjörð Bjarmason",
    "email": "avarab@gmail.com",
    "time": "Wed Feb 13 12:59:51 2019 +0100"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Wed Feb 13 13:46:06 2019 -0800"
  },
  "message": "tests: avoid syntax triggering old dash bug\n\nAvoid a bug in dash that\u0027s been fixed ever since its\nec2c84d (\"[PARSER] Fix clobbering of checkkwd\", 2011-03-15)[1] first\nreleased with dash v0.5.7 in July 2011. This failing test was\nintroduced in 5f9674243d (\"config: add --expiry-date\", 2017-11-18).\n\nThis fixes 1/2 tests failing on Debian Lenny \u0026 Squeeze. The other\nfailure is due to 1b42f45255 (\"git-svn: apply \"svn.pathnameencoding\"\nbefore URL encoding\", 2016-02-09).\n\nThe dash bug is triggered by this test because the heredoc contains a\ncommand embedded in \"$()\" with a \"{}\" block coming right after\nit. Refactoring the \"$()\" to e.g. be a variable that was set earlier\nwill also work around it, but let\u0027s instead break up the \"EOF\" and the\n\"{}\".\n\nAn earlier version of this patch[2] mitigated the issue by breaking\nthe \"$()\" out of the \"{}\" block, that worked, but just because it\nbroke up the \"EOF\" and \"{}\" block. Putting e.g. \"echo \u0026\u0026\" between the\ntwo would also work.\n\n1. https://git.kernel.org/pub/scm/utils/dash/dash.git/\n2. https://public-inbox.org/git/20181127164253.9832-1-avarab@gmail.com/\n\nSigned-off-by: Ævar Arnfjörð Bjarmason \u003cavarab@gmail.com\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9652b241c7cf182a4b26cac5f474183bd166ceaa",
      "old_mode": 33261,
      "old_path": "t/t1300-config.sh",
      "new_id": "428177c390dbe726c2aa9df4eb9c6f9d54766049",
      "new_mode": 33261,
      "new_path": "t/t1300-config.sh"
    }
  ]
}
