Git development
 help / color / mirror / Atom feed
From: Jeff King <peff@peff.net>
To: Yuri <yuri@rawbw.com>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: git commit silently fails
Date: Fri, 1 May 2026 02:49:55 -0400	[thread overview]
Message-ID: <20260501064955.GA2706240@coredump.intra.peff.net> (raw)
In-Reply-To: <a650d44b-1ab1-4a20-9b17-c82cea604acb@rawbw.com>

On Tue, Apr 28, 2026 at 01:39:35PM -0700, Yuri wrote:

> 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

      reply	other threads:[~2026-05-01  6:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-28 20:39 git commit silently fails Yuri
2026-05-01  6:49 ` Jeff King [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260501064955.GA2706240@coredump.intra.peff.net \
    --to=peff@peff.net \
    --cc=git@vger.kernel.org \
    --cc=yuri@rawbw.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox