)]}'
{
  "commit": "97fff6101220b66bc293239ab2cf29fc3624072b",
  "tree": "8c0c9a1415c4160b8d0f798d79e539d984d7c501",
  "parents": [
    "5fa0f5238b0cd46cfe7f6fa76c3f526ea98148d9"
  ],
  "author": {
    "name": "Johannes Schindelin",
    "email": "johannes.schindelin@gmx.de",
    "time": "Mon Sep 30 10:21:54 2019 -0700"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Wed Oct 02 14:44:51 2019 +0900"
  },
  "message": "Move git_sort(), a stable sort, into into libgit.a\n\nThe `qsort()` function is not guaranteed to be stable, i.e. it does not\npromise to maintain the order of items it is told to consider equal. In\ncontrast, the `git_sort()` function we carry in `compat/qsort.c` _is_\nstable, by virtue of implementing a merge sort algorithm.\n\nIn preparation for using a stable sort in Git\u0027s rename detection, move\nthe stable sort into `libgit.a` so that it is compiled in\nunconditionally, and rename it to `git_stable_qsort()`.\n\nNote: this also makes the hack obsolete that was introduced in\nfe21c6b285d (mingw: reencode environment variables on the fly (UTF-16\n\u003c-\u003e UTF-8), 2018-10-30), where we included `compat/qsort.c` directly in\n`compat/mingw.c` to use the stable sort.\n\nSigned-off-by: Johannes Schindelin \u003cjohannes.schindelin@gmx.de\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f9255344ae5009a192ab83a332be749632d94531",
      "old_mode": 33188,
      "old_path": "Makefile",
      "new_id": "60c809e5807af2a782a0b5f0eec6cdc912da7455",
      "new_mode": 33188,
      "new_path": "Makefile"
    },
    {
      "type": "modify",
      "old_id": "738f0a826a51b850fcc93f0cadbf707c7eb0b492",
      "old_mode": 33188,
      "old_path": "compat/mingw.c",
      "new_id": "50af33b2b33c98062470acf6bf8a90ef1cb20668",
      "new_mode": 33188,
      "new_path": "compat/mingw.c"
    },
    {
      "type": "modify",
      "old_id": "83be89de0aac7c96799635e3b2858a465f440acf",
      "old_mode": 33188,
      "old_path": "git-compat-util.h",
      "new_id": "7ec2c8fe3183aefaa107362b8768f66e57ec4ff2",
      "new_mode": 33188,
      "new_path": "git-compat-util.h"
    },
    {
      "type": "rename",
      "old_id": "7d071afb70530ede222ed9cdb4645baf4277fb79",
      "old_mode": 33188,
      "old_path": "compat/qsort.c",
      "new_id": "6cbaf39f7b6ccbb265d77dd17d8c3146d629ca90",
      "new_mode": 33188,
      "new_path": "stable-qsort.c",
      "score": 88
    }
  ]
}
