git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Eric Sunshine <sunshine@sunshineco.com>
To: Junio C Hamano <gitster@pobox.com>
Cc: Oren Levi <orenl@exon-media.com>, git@vger.kernel.org
Subject: Re: bug: `git commit --verbose` not removing text below scissor-line
Date: Thu, 10 Jul 2025 13:46:38 -0400	[thread overview]
Message-ID: <CAPig+cT_5LhE7caRhviRXZ_U3UUcfxo-d74yOYtep33dYJQ2Uw@mail.gmail.com> (raw)
In-Reply-To: <xmqqecuo82xq.fsf@gitster.g>

On Thu, Jul 10, 2025 at 11:50 AM Junio C Hamano <gitster@pobox.com> wrote:
> Oren Levi <orenl@exon-media.com> writes:
> > What did you do before the bug happened? (Steps to reproduce your issue)
> > 1. Run `git ci -a`
> > 2. Edit COMMIT_EDITMSG (using vscode)
> > 3. Save&Close
>
> Here is what I did as a quick sanity check
>
>     $ git checkout --detach HEAD
>     $ git reset --soft HEAD~23
>     $ git commit -a -v
>
> Since I do not use vscode, my reproduction attempt used an editor
> different from it.  It is possible that your editor may be mangling
> the line that it is not supposed to touch, but that is not something
> I can tell.

I don't use vscode either, but I did install it (in a Linux VM) to
test this. Like you, I was unable to reproduce the problem using the
provided recipe. My attempt was using the factory settings for VScode,
which may be different from the settings used by the OP.

      reply	other threads:[~2025-07-10 17:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-10  9:07 bug: `git commit --verbose` not removing text below scissor-line Oren Levi
2025-07-10 15:45 ` Junio C Hamano
2025-07-10 17:46   ` Eric Sunshine [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=CAPig+cT_5LhE7caRhviRXZ_U3UUcfxo-d74yOYtep33dYJQ2Uw@mail.gmail.com \
    --to=sunshine@sunshineco.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=orenl@exon-media.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;
as well as URLs for NNTP newsgroup(s).