)]}'
{
  "commit": "6bf64439752b2a98418a731ff21eb9d58ed5631c",
  "tree": "b7800c4abd43c2c2c690e2b3605f8c14de7df1ad",
  "parents": [
    "67ecd632735a45267da051003d7eaf8d8ca1b998"
  ],
  "author": {
    "name": "László Csomor",
    "email": "laszlocsomor@users.noreply.github.com",
    "time": "Thu May 09 15:29:44 2019 +0200"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Thu May 09 15:29:44 2019 +0200"
  },
  "message": "write_file: support different line endings (#150)\n\nThe user can specify which line endings they want\r\nwrite_file to use. This helps avoiding line ending\r\nmismatches with diff_test.\r\n\r\nExample: diff_test verifies that a rule generates\r\ncorrect output by comparing it to a checked-in\r\n\"golden\" file. Both files are text files, and the\r\nuser builds on Windows but the golden file was\r\nwritten on Linux and git checkout preserved\r\noriginal line endings.\r\n\r\nWithout explicitly specifying which line endings\r\nto use, this diff_test would fail on an otherwise\r\ngood output.\r\n\r\nWith explicit line endings we don\u0027t need to check\r\nin the golden file to git, we can just generate it\r\nwith \"auto\" line endings.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ecd96bd452c779f017de0a94e99b7cc412be8f83",
      "old_mode": 33261,
      "old_path": "docs/write_file_doc.md",
      "new_id": "d8f098e953d315edb2b05f74f657ebdbeb02080c",
      "new_mode": 33261,
      "new_path": "docs/write_file_doc.md"
    },
    {
      "type": "modify",
      "old_id": "64a3361d0631d1fda11c4b32b353cf86384d95bd",
      "old_mode": 33188,
      "old_path": "rules/private/write_file_private.bzl",
      "new_id": "ac8ce9cebd7a8f01ede9fa20ec438c1cc0f82a4d",
      "new_mode": 33188,
      "new_path": "rules/private/write_file_private.bzl"
    },
    {
      "type": "modify",
      "old_id": "321bcc08d38fbf3f9d5f525e3028e1cbadea9fd8",
      "old_mode": 33188,
      "old_path": "tests/write_file/BUILD",
      "new_id": "9ea3609a290a026313fc95d7dd74e9174fae1b35",
      "new_mode": 33188,
      "new_path": "tests/write_file/BUILD"
    }
  ]
}
