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

Re: git commit silently fails

From
Jeff King <peff@peff.net>
Date
May 1, 2026, 06:49 UTC
Message-ID
<20260501064955.GA2706240@coredump.intra.peff.net>
In-Reply-To
<a650d44b-1ab1-4a20-9b17-c82cea604acb@rawbw.com>
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
Previous: Yuri
Message 2 of 2 in “git commit silently fails”
  1. YuriApr 28, 2026
  2. Jeff KingMay 1, 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.