)]}'
{
  "commit": "1891707d1b8bb0ac3c47343e881fcf28ec69457a",
  "tree": "74aad3bc5b6d829ac92c11da8858f5b200494e6d",
  "parents": [
    "a89346e34a937f001e5d397ee62224e3e9852040"
  ],
  "author": {
    "name": "Jacob Keller",
    "email": "jacob.keller@gmail.com",
    "time": "Mon Jun 01 16:36:08 2026 -0700"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Tue Jun 02 09:31:12 2026 +0900"
  },
  "message": "describe: fix --exclude, --match with --contains and --all\n\ngit describe --contains acts as a wrapper around git name-rev. When\noperating with --contains and --all, the --match and --exclude patterns\nare not properly forwarded to name-rev as --exclude and --refs options.\n\nThis results in the command silently discarding match and exclude\nrequests from the user when operating in --all mode.\n\nWe could check and die() if the user provides --contains, --all, and\n--match/--exclude. However, its also straight forward to just pass the\nfilters down to git name-rev.\n\nNotice that the documentation for --match and --exclude mention the\n--all mode. It explains that they operate on refs with the prefix\nrefs/tags, and additionally refs/heads and refs/remotes when using\n--all.\n\nFix the describe logic to pass the patterns down with the appropriate\nprefixes when --all is provided. This fixes the support to match the\ndocumented behavior.\n\nAdd tests to check that this works as expected.\n\nReported-by: Tuomas Ahola \u003ctaahol@utu.fi\u003e\nSigned-off-by: Jacob Keller \u003cjacob.keller@gmail.com\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "bffeed13a3cb14d7ce738597460c29556fe8aa2a",
      "old_mode": 33188,
      "old_path": "builtin/describe.c",
      "new_id": "62800ef15ed915742f03ddee07918b0bfa40cfc4",
      "new_mode": 33188,
      "new_path": "builtin/describe.c"
    },
    {
      "type": "modify",
      "old_id": "2c70cc561ad5f64ae9b900aacc68d231491839ae",
      "old_mode": 33261,
      "old_path": "t/t6120-describe.sh",
      "new_id": "e5bcf537602a21a4586bbb29575a05b817680e07",
      "new_mode": 33261,
      "new_path": "t/t6120-describe.sh"
    }
  ]
}
