)]}'
{
  "commit": "7dbe8c8003f3bec04f9dbbfff2b4bff172e52d9c",
  "tree": "b80e0cd9c536982229c0535d8e6e9dc97042f63d",
  "parents": [
    "936d1b989416a95f593bf81ccae8ac62cd83f279"
  ],
  "author": {
    "name": "Torsten Bögershausen",
    "email": "tboegi@web.de",
    "time": "Thu Dec 21 22:26:46 2017 +0100"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Fri Dec 22 13:00:51 2017 -0800"
  },
  "message": "check-non-portable-shell.pl: `wc -l` may have leading WS\n\nTest scripts count number of lines in an output and check it againt\nits expectation.  fb3340a6 (\"test-lib: introduce test_line_count to\nmeasure files\", 2010-10-31) introduced a helper to show a failure in\nsuch a test in a more readable way than comparing `wc -l` output with\na number.\n\nBesides, on some platforms, \"$(wc -l \u003cfile)\" is padded with leading\nwhitespace on the left, so\n\n\ttest \"$(wc -l \u003cfile)\" \u003d 4\n\nwould not work (most notably on macosX); the users of test_line_count\nhelper would not suffer from such a portability glitch.\n\nAdd a check in check-non-portable-shell.pl to find \u0027\"\u0027 between\n`wc -l` and \u0027\u003d\u0027 and hint the user about test_line_count().\n\nSigned-off-by: Torsten Bögershausen \u003ctboegi@web.de\u003e\nReviewed-by: Johannes Schindelin \u003cJohannes.Schindelin@gmx.de\u003e\nHelped-by: Eric Sunshine \u003csunshine@sunshineco.com\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "03dc9d28525730cdf57c74d13cab22da59dcdfbd",
      "old_mode": 33261,
      "old_path": "t/check-non-portable-shell.pl",
      "new_id": "e07f0284372ec25c91fd62f0d136c31d80263a0d",
      "new_mode": 33261,
      "new_path": "t/check-non-portable-shell.pl"
    }
  ]
}
