)]}'
{
  "commit": "e2c2a37545f604988424100ed6b1732eb5f36b55",
  "tree": "0fdf6475b5953ad7a64bf266dc669b678a5f8928",
  "parents": [
    "9e5da3d055c558fc6492d3b996736ff7e8d115c3"
  ],
  "author": {
    "name": "Jeff King",
    "email": "peff@peff.net",
    "time": "Wed Feb 06 21:00:22 2019 -0500"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Wed Feb 06 18:56:45 2019 -0800"
  },
  "message": "add_to_index(): convert forgotten HASH_RENORMALIZE check\n\nCommit 9e5da3d055 (add: use separate ADD_CACHE_RENORMALIZE flag,\n2019-01-17) switched out using HASH_RENORMALIZE in our flags field for a\nnew ADD_CACHE_RENORMALIZE flag. However, it forgot to convert one of the\nchecks for HASH_RENORMALIZE into the new flag, which totally broke \"git\nadd --renormalize\".\n\nTo make matters even more confusing, the resulting code would racily\npass the tests!  The forgotten check was responsible for defeating the\nup-to-date check of the index entry. That meant that \"git add\n--renormalize\" would refuse to renormalize things that appeared\nstat-clean. But most of the time the test commands run fast enough that\nthe file mtime is the same as the index mtime. And thus we err on the\nconservative side and re-hash the file, which is what \"--renormalize\"\nwould have wanted.\n\nBut if you\u0027re unlucky and cross that one-second boundary between writing\nthe file and writing the index (which is more likely to happen on a slow\nor heavily-loaded system), then the file appears stat-clean. And\n\"--renormalize\" would effectively do nothing.\n\nThe fix is straightforward: convert this check to use the right flag.\n\nNoticed-by: SZEDER Gábor \u003cszeder.dev@gmail.com\u003e\nSigned-off-by: Jeff King \u003cpeff@peff.net\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ce679c17991470ba442d242b78f250e60f3e9b0a",
      "old_mode": 33188,
      "old_path": "read-cache.c",
      "new_id": "03ea8fbd03ca52e296fc34fc870c5052d481fe92",
      "new_mode": 33188,
      "new_path": "read-cache.c"
    }
  ]
}
