)]}'
{
  "commit": "090511bc0b73bf3054f11df6f275ad3a3abbf34f",
  "tree": "66b06389aab543032b7c8b1ec0edaabec196336b",
  "parents": [
    "663b2b1b90bf76275044824ddeca96aaec240f09"
  ],
  "author": {
    "name": "Derrick Stolee",
    "email": "dstolee@microsoft.com",
    "time": "Thu Sep 17 18:11:47 2020 +0000"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Thu Sep 17 11:30:05 2020 -0700"
  },
  "message": "maintenance: add --task option\n\nA user may want to only run certain maintenance tasks in a certain\norder. Add the --task\u003d\u003ctask\u003e option, which allows a user to specify an\nordered list of tasks to run. These cannot be run multiple times,\nhowever.\n\nHere is where our array of maintenance_task pointers becomes critical.\nWe can sort the array of pointers based on the task order, but we do not\nwant to move the struct data itself in order to preserve the hashmap\nreferences. We use the hashmap to match the --task\u003d\u003ctask\u003e arguments into\nthe task struct data.\n\nKeep in mind that the \u0027enabled\u0027 member of the maintenance_task struct is\na placeholder for a future \u0027maintenance.\u003ctask\u003e.enabled\u0027 config option.\nThus, we use the \u0027enabled\u0027 member to specify which tasks are run when\nthe user does not specify any --task\u003d\u003ctask\u003e arguments. The \u0027enabled\u0027\nmember should be ignored if --task\u003d\u003ctask\u003e appears.\n\nSigned-off-by: Derrick Stolee \u003cdstolee@microsoft.com\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "fc5dbcf0b9efd3ab6630dd2de94f8d1e8fcc16e5",
      "old_mode": 33188,
      "old_path": "Documentation/git-maintenance.txt",
      "new_id": "819ca41ab6aa1794fc0caed09a96a30d4cbf8d4a",
      "new_mode": 33188,
      "new_path": "Documentation/git-maintenance.txt"
    },
    {
      "type": "modify",
      "old_id": "86b807a008e1951b2b83d784c03e5d358d90574e",
      "old_mode": 33188,
      "old_path": "builtin/gc.c",
      "new_id": "00fff59bdb2c05a4275d1a654b16cc2c89399476",
      "new_mode": 33188,
      "new_path": "builtin/gc.c"
    },
    {
      "type": "modify",
      "old_id": "505a1b4d60acf8ffc24b205b1698151c72848960",
      "old_mode": 33261,
      "old_path": "t/t7900-maintenance.sh",
      "new_id": "fb4cadd30c12201be145bd2aa5ed1a675fec06c2",
      "new_mode": 33261,
      "new_path": "t/t7900-maintenance.sh"
    }
  ]
}
