)]}'
{
  "commit": "3fe92099860aabc8af341334562ff7cdb5e3a9a3",
  "tree": "acc188f2aaf9a97531a30204184045b06990408c",
  "parents": [
    "735514635b49332efba080ed8e2c75b5e3c37a6e"
  ],
  "author": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Thu Aug 13 12:12:33 2026 -0700"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Thu Aug 13 12:13:56 2026 -0700"
  },
  "message": "completion: complete tracked paths for \"git checkout\"\n\nWhen completing arguments for \"git checkout\", _git_checkout()\ndelegates to __git_complete_refs(), which only completes revision\nreferences.  This is good, as mixing revisions and paths in a single\nlist from which the user can choose is confusing.  However, if no\nreference matches, or if \"--\" is given, _git_checkout() leaves\nCOMPREPLY empty.  Bash then falls back to the default filename\ncompletion in $PWD.\n\nThis fails when \"git -C \u003cpath\u003e\" is used, as $PWD is not the target\nrepository.\n\nUpdate _git_checkout() to use __git_complete_index_file() when \"--\"\nis present, or when revision reference completion yields no matching\ncandidates, so that tracked paths are offered as candidates.\n\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "38dec1cabe91300b60901db4a04eaa74e46bcbc5",
      "old_mode": 33188,
      "old_path": "contrib/completion/git-completion.bash",
      "new_id": "0eecfcbf8bf66256302b6ba1959a3231b4987c6a",
      "new_mode": 33188,
      "new_path": "contrib/completion/git-completion.bash"
    },
    {
      "type": "modify",
      "old_id": "b889ec8c77d13ac1904b1a43b42d9a8b8fce4404",
      "old_mode": 33261,
      "old_path": "t/t9902-completion.sh",
      "new_id": "13fa5c65c32f3a1ff77534566919d51198780928",
      "new_mode": 33261,
      "new_path": "t/t9902-completion.sh"
    }
  ]
}
