Subject: git reflog expire output inconsistency

From: Sven Weiland <[email-masked]>
Date: Wed, 6 May 2026 14:26:56 +0200

Hi,

I noticed a small inconsistency in the output of the git reflog expire 
command.

Thank you for filling out a Git bug report!
Please answer the following questions to help us understand your issue.

What did you do before the bug happened? (Steps to reproduce your issue)

	1. Fill reflog HEAD with something
	2. git reflog expire --verbose --expire=now --dry-run HEAD

What did you expect to happen? (Expected behavior)

	would prune checkout: <something>

What happened instead? (Actual behavior)

	prune checkout: <something>

What's different between what you expected and what actually happened?

	It omitted "would ".

Anything else you want to add:

	It's just a logging thing the behavior is as expected from the dry-run.

Please review the rest of the bug report below.
You can delete any lines you don't wish to share.

[System Info]
git version:
git version 2.54.0
cpu: x86_64
no commit associated with this build
sizeof-long: 8
sizeof-size_t: 8
shell-path: /bin/sh
rust: disabled
gettext: enabled
libcurl: 8.5.0
zlib: 1.3
SHA-1: SHA1_DC
SHA-256: SHA256_BLK
default-ref-format: files
default-hash: sha1
uname: Linux 6.17.0-1017-oem #17-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 27 
13:48:03 UTC 2026 x86_64
compiler info: gnuc: 13.3
libc info: glibc: 2.39
$SHELL (typically, interactive shell): /usr/bin/zsh

[Enabled Hooks]