)]}'
{
  "commit": "9ba96fbb2523cb12747c559c704c58bd8f9e7982",
  "tree": "c93cfeeea0efd2e65b513c1fd8caf7acaf259a7c",
  "parents": [
    "c15e95a61dacfc326cf9cdf05935ae8c6c97bcf6"
  ],
  "author": {
    "name": "Richard Levitte",
    "email": "levitte@openssl.org",
    "time": "Thu Feb 11 21:47:30 2016 +0100"
  },
  "committer": {
    "name": "Richard Levitte",
    "email": "levitte@openssl.org",
    "time": "Thu Feb 11 22:11:48 2016 +0100"
  },
  "message": "Perl\u0027s chop / chomp considered bad, use a regexp instead\n\nOnce upon a time, there was chop, which somply chopped off the last\ncharacter of $_ or a given variable, and it was used to take off the\nEOL character (\\n) of strings.\n\n... but then, you had to check for the presence of such character.\n\nSo came chomp, the better chop which checks for \\n before chopping it\noff.  And this worked well, as long as Perl made internally sure that\nall EOLs were converted to \\n.\n\nThese days, though, there seems to be a mixture of perls, so lines\nfrom files in the \"wrong\" environment might have \\r\\n as EOL, or just\n\\r (Mac OS, unless I\u0027m misinformed).\n\nSo it\u0027s time we went for the more generic variant and use s|\\R$||, the\nbetter chomp which recognises all kinds of known EOLs and chops them\noff.\n\nA few chops were left alone, as they are use as surgical tools to\nremove one last slash or one last comma.\n\nNOTE: \\R came with perl 5.10.0.  It means that from now on, our\nscripts will fail with any older version.\n\nReviewed-by: Rich Salz \u003crsalz@openssl.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d3be6a29e7f43ff071446d94f3b6286f049d3973",
      "old_mode": 33188,
      "old_path": "VMS/VMSify-conf.pl",
      "new_id": "9890362d5bdfd5eec0a4f82b47870f9ced5203c0",
      "new_mode": 33188,
      "new_path": "VMS/VMSify-conf.pl"
    },
    {
      "type": "modify",
      "old_id": "8ffdbd8aa8ca8afa1b567a41345a29ee6948bf99",
      "old_mode": 33188,
      "old_path": "VMS/translatesyms.pl",
      "new_id": "de3db6ccaf5cee6e56ebd6077c6f8f36bf64dbbf",
      "new_mode": 33188,
      "new_path": "VMS/translatesyms.pl"
    },
    {
      "type": "modify",
      "old_id": "52a97d7345034cb5b0b7ba0f8d3cf6209d9ddb81",
      "old_mode": 33188,
      "old_path": "apps/CA.pl.in",
      "new_id": "fbba457646bb73d030d54d577f79c9296c0ecb6e",
      "new_mode": 33188,
      "new_path": "apps/CA.pl.in"
    },
    {
      "type": "modify",
      "old_id": "30fedf9cd5ad8ae6e83fb290d572041bb7129fa9",
      "old_mode": 33188,
      "old_path": "crypto/lhash/num.pl",
      "new_id": "4440a992dccd4ac84f3531d85b11df2155997af7",
      "new_mode": 33188,
      "new_path": "crypto/lhash/num.pl"
    },
    {
      "type": "modify",
      "old_id": "d726f2cb76a36be6b37bc920a663bcb9376720d7",
      "old_mode": 33188,
      "old_path": "crypto/objects/obj_dat.pl",
      "new_id": "0bf1e4878f66dc854df12fb808234395f7efe83b",
      "new_mode": 33188,
      "new_path": "crypto/objects/obj_dat.pl"
    },
    {
      "type": "modify",
      "old_id": "ea2caf5ec254af8a4ea0faf7fc5357b0d593ddfe",
      "old_mode": 33188,
      "old_path": "crypto/objects/objects.pl",
      "new_id": "107647adbc40878fb9d926ff83f03464701f953c",
      "new_mode": 33188,
      "new_path": "crypto/objects/objects.pl"
    },
    {
      "type": "modify",
      "old_id": "05b987ad16d161261eaaaa6a8c2d360157a424f8",
      "old_mode": 33188,
      "old_path": "crypto/objects/objxref.pl",
      "new_id": "7ebd74cdcc0b3f35fa7d0f8434950bde7dc7c9e4",
      "new_mode": 33188,
      "new_path": "crypto/objects/objxref.pl"
    },
    {
      "type": "modify",
      "old_id": "1f5bced8e162e0e35eface009ea414fbdddffbd2",
      "old_mode": 33261,
      "old_path": "crypto/perlasm/x86_64-xlate.pl",
      "new_id": "a0b3bc06709dcbfaf6b56d8528749875f1e43584",
      "new_mode": 33261,
      "new_path": "crypto/perlasm/x86_64-xlate.pl"
    },
    {
      "type": "modify",
      "old_id": "176b9569006bd07621b415f9b1127a9664e6c55a",
      "old_mode": 33188,
      "old_path": "util/check-buildinfo.pl",
      "new_id": "f7d3baa9538154ffbaee5f3ad330ae4cb2c775f1",
      "new_mode": 33188,
      "new_path": "util/check-buildinfo.pl"
    },
    {
      "type": "modify",
      "old_id": "35bd6ed84326f16ca6ffbdd7e99c8fa1b6a7cf1d",
      "old_mode": 33188,
      "old_path": "util/extract-names.pl",
      "new_id": "0f69335e96c793706b651c96d08061837dc10979",
      "new_mode": 33188,
      "new_path": "util/extract-names.pl"
    },
    {
      "type": "modify",
      "old_id": "d5c78bafc1bfecc696c3cc594fc45937ef51b083",
      "old_mode": 33261,
      "old_path": "util/files.pl",
      "new_id": "d984196616053efd2d73e23f4b07ac049ea41f66",
      "new_mode": 33261,
      "new_path": "util/files.pl"
    },
    {
      "type": "modify",
      "old_id": "4a88fc6d77e07d36b25d95fdb7c8f782e7666d79",
      "old_mode": 33188,
      "old_path": "util/fipslink.pl",
      "new_id": "7b16e04fb9da7a752254600f6b7d096e2d653780",
      "new_mode": 33188,
      "new_path": "util/fipslink.pl"
    },
    {
      "type": "modify",
      "old_id": "41441305677e8add95f4fa002c333f62e9ede3f6",
      "old_mode": 33261,
      "old_path": "util/mk1mf.pl",
      "new_id": "3a9f0d76b8267f3f82ea0e570ef18943deef8890",
      "new_mode": 33261,
      "new_path": "util/mk1mf.pl"
    },
    {
      "type": "modify",
      "old_id": "aa85ec8251f874df225281414f5934f80878f158",
      "old_mode": 33261,
      "old_path": "util/mkdef.pl",
      "new_id": "b5ebc18b8e2edab54c9e49bb45ccec91b3181091",
      "new_mode": 33261,
      "new_path": "util/mkdef.pl"
    },
    {
      "type": "modify",
      "old_id": "13c9974bcea80779ebf386eca7e60411385bdeb5",
      "old_mode": 33188,
      "old_path": "util/mkerr.pl",
      "new_id": "939a87c07cf2afef79ef6f223e01449fdfc08063",
      "new_mode": 33188,
      "new_path": "util/mkerr.pl"
    },
    {
      "type": "modify",
      "old_id": "d668316d697de59ca5cf6de8c093700edfb6693c",
      "old_mode": 33261,
      "old_path": "util/mkfiles.pl",
      "new_id": "4fbe29ac755aa84e210209507020ec1ed252721e",
      "new_mode": 33261,
      "new_path": "util/mkfiles.pl"
    },
    {
      "type": "modify",
      "old_id": "59842efae8f041f06c1637f269e9e0967db8395b",
      "old_mode": 33188,
      "old_path": "util/selftest.pl",
      "new_id": "06d494a2fb93e13c54fc46e242ccced85eb485be",
      "new_mode": 33188,
      "new_path": "util/selftest.pl"
    },
    {
      "type": "modify",
      "old_id": "9d6c60387fa1c862f4c3fe4a4fe86a30c48e60ee",
      "old_mode": 33261,
      "old_path": "util/sp-diff.pl",
      "new_id": "57e635bca38fef59c2b99572fdfb022e6cf44131",
      "new_mode": 33261,
      "new_path": "util/sp-diff.pl"
    }
  ]
}
