Volume XXII, number 280Wednesday, October 7, 2026Latest message 1 hour ago

The Git List

News and archive of git@vger.kernel.org, since April 2005

git commit silently fails

2 messages between Apr 28, 2026 and May 1, 2026, from Yuri, Jeff King.

Plain Markdown or JSON for tools and agents.

YuriApr 28, 2026, 20:39 UTC on lore
Hi,
I was committing this way forever.

But today git failed: [yuri@yv /usr/ports/devel/catch2]$ /usr/local/bin/git commit --verbose . -m "devel/catch2: update 3.13.0 → 3.14.0" [yuri@yv /usr/ports/devel/catch2]$ echo $? 1 [yuri@yv /usr/ports/devel/catch2]$ /usr/local/bin/git --version git version 2.54.0

No error messages, no verbose messages, just failure ... What might be wrong?

OS: FreeBSD 15 STABLE amd64

Thanks, Yuri

Jeff KingMay 1, 2026, 06:49 UTC in reply to Yuri on lore

Re: git commit silently fails

On Tue, Apr 28, 2026 at 01:39:35PM -0700, Yuri wrote:
Show 11 quoted lines
> But today git failed:
> [yuri@yv /usr/ports/devel/catch2]$ /usr/local/bin/git commit --verbose . -m
> "devel/catch2: update 3.13.0 → 3.14.0"
> [yuri@yv /usr/ports/devel/catch2]$ echo $?
> 1
> [yuri@yv /usr/ports/devel/catch2]$ /usr/local/bin/git --version
> git version 2.54.0
> 
> 
> No error messages, no verbose messages, just failure ...
> What might be wrong?

I can't reproduce the problem here, so a wild guess: do you have a pager configured for the commit command (with pager.commit, for example)? That could be eating all of the output (including stderr) if the pager command fails to run.

-Peff

Back to recent threads

git commit silently fails | The Git List