)]}'
{
  "commit": "d1536ac3e22a04d019128e055caa97518c63d218",
  "tree": "446abc2c543f991274157860956790678ec9932d",
  "parents": [
    "7e34d8174dcda3435d1404c9a30bef46afe6c13e"
  ],
  "author": {
    "name": "Laveesh Bansal",
    "email": "laveeshb@laveeshbansal.com",
    "time": "Fri Oct 23 18:38:50 2026 -0700"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Sat Oct 24 10:39:31 2026 -0700"
  },
  "message": "builtin/reflog: say \"would prune\" for named refs with --dry-run\n\nWith --dry-run --verbose, \"git reflog expire --all\" reports the entries\nit would remove as \"would prune\", but when refs are named on the command\nline it reports them as \"prune\", which looks as if they were removed:\n\n    $ git reflog expire --dry-run --verbose --expire\u003dnow HEAD\n    prune commit (initial): first\n\nNothing is removed in either case, only the label is wrong. This was\nreported at [1].\n\nfcd2c3d9d8 (reflog + refs-backend: move \"verbose\" out of the backend,\n2021-12-22) added dry_run to struct expire_reflog_policy_cb and set it\nin the --all loop, but not in the loop for named refs. Set it there\ntoo.\n\nAdd tests for named refs and --all. No test checked the keep/prune\nwording before.\n\n[1] https://lore.kernel.org/git/b46cbce8-d2bb-46d2-bdd3-545422813d6b@tngtech.com/\n\nReported-by: Sven Weiland \u003csven.weiland@tngtech.com\u003e\nAssisted-by: Claude Sonnet 5.5\nSigned-off-by: Laveesh Bansal \u003claveeshb@laveeshbansal.com\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1211c58fa45e3c02db7d20877f4929c554d09a5b",
      "old_mode": 33188,
      "old_path": "builtin/reflog.c",
      "new_id": "49e5453dd9662fa6210dfa4551d5a0a24f4d3695",
      "new_mode": 33188,
      "new_path": "builtin/reflog.c"
    },
    {
      "type": "modify",
      "old_id": "93b5b49e1df2486804084bfe80d7ddf9c9735c9b",
      "old_mode": 33261,
      "old_path": "t/t1410-reflog.sh",
      "new_id": "998a7e8667e28790d9a078d84a493958094d8c8a",
      "new_mode": 33261,
      "new_path": "t/t1410-reflog.sh"
    }
  ]
}
