git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git reflog expire output inconsistency

From
SWSven Weiland <sven.weiland@tngtech.com>
Date
May 6, 2026, 12:26 UTC
Message-ID
<b46cbce8-d2bb-46d2-bdd3-545422813d6b@tngtech.com>
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]
Message 1 of 1 in “git reflog expire output inconsistency”
  1. Sven WeilandMay 6, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.