)]}'
{
  "commit": "748b8d669a0d7232c2174e02a20e32284ac05677",
  "tree": "84eba57266640d7bf7a8274db7570586eb3f34cb",
  "parents": [
    "8d90352acc5c855620042fdcc6092f23a276af6d"
  ],
  "author": {
    "name": "Raghul Nanth A",
    "email": "nanth.raghul@gmail.com",
    "time": "Mon Apr 03 22:17:49 2023 +0530"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Mon Apr 03 11:30:23 2023 -0700"
  },
  "message": "describe: enable sparse index for describe\n\ngit describe compares the index with the working tree when (and only\nwhen) it is run with the \"--dirty\" flag. This is done by the\nrun_diff_index() function. The function has been made aware of the\nsparse-index in the series that led to 8d2c3732 (Merge branch\n\u0027ld/sparse-diff-blame\u0027, 2021-12-21). Hence we can just set the\nrequires-full-index to false for \"describe\".\n\nPerformance metrics\n\n  Test                                                     HEAD~1            HEAD\n  -------------------------------------------------------------------------------------------------\n  2000.2: git describe --dirty (full-v3)                   0.08(0.09+0.01)   0.08(0.06+0.03) +0.0%\n  2000.3: git describe --dirty (full-v4)                   0.09(0.07+0.03)   0.08(0.05+0.04) -11.1%\n  2000.4: git describe --dirty (sparse-v3)                 0.88(0.82+0.06)   0.02(0.01+0.05) -97.7%\n  2000.5: git describe --dirty (sparse-v4)                 0.68(0.60+0.08)   0.02(0.02+0.04) -97.1%\n  2000.6: echo \u003e\u003enew \u0026\u0026 git describe --dirty (full-v3)     0.08(0.04+0.05)   0.08(0.05+0.04) +0.0%\n  2000.7: echo \u003e\u003enew \u0026\u0026 git describe --dirty (full-v4)     0.08(0.07+0.03)   0.08(0.05+0.04) +0.0%\n  2000.8: echo \u003e\u003enew \u0026\u0026 git describe --dirty (sparse-v3)   0.75(0.69+0.07)   0.02(0.03+0.03) -97.3%\n  2000.9: echo \u003e\u003enew \u0026\u0026 git describe --dirty (sparse-v4)   0.81(0.73+0.09)   0.02(0.01+0.05) -97.5%\n\nSigned-off-by: Raghul Nanth A \u003cnanth.raghul@gmail.com\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5b5930f5c8c05dfa7581be78b6fc2f8e73e758d0",
      "old_mode": 33188,
      "old_path": "builtin/describe.c",
      "new_id": "7ff9b5e4b20eaa3d2fd500dd815bc72659e7d035",
      "new_mode": 33188,
      "new_path": "builtin/describe.c"
    },
    {
      "type": "modify",
      "old_id": "3242cfe91a096fef06d11cc589bb1ab415135e96",
      "old_mode": 33261,
      "old_path": "t/perf/p2000-sparse-operations.sh",
      "new_id": "db7887470f9c6cfff55b19533a87d3d560a18ef1",
      "new_mode": 33261,
      "new_path": "t/perf/p2000-sparse-operations.sh"
    },
    {
      "type": "modify",
      "old_id": "801919009e1d073735ac785a49b0aa353e565c55",
      "old_mode": 33261,
      "old_path": "t/t1092-sparse-checkout-compatibility.sh",
      "new_id": "51bebd4fa999e43210699b4a54f34f7fc2528f92",
      "new_mode": 33261,
      "new_path": "t/t1092-sparse-checkout-compatibility.sh"
    }
  ]
}
