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

bug: `git commit --verbose` not removing text below scissor-line

From
OLOren Levi <orenl@exon-media.com>
Date
Jul 10, 2025, 09:07 UTC
Message-ID
<CACpw4KCYrgjCPO6z-czSa=rW+5z5m4Xpy_RSgxEkUGdeMEvULA@mail.gmail.com>

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. Run `git ci -a`
2. Edit COMMIT_EDITMSG (using vscode)
3. Save&Close

What did you expect to happen? (Expected behavior) generated git commit message does not include text below the scissor-line.

What happened instead? (Actual behavior) generated git commit message has the entire text below the scissor-line included.

What's different between what you expected and what actually happened? text below the scissor-line included in the generated commit message.

Anything else you want to add: related config: core.editor = code --wait commit.verbose = true alias.ci = commit

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.50.1
cpu: arm64
no commit associated with this build
sizeof-long: 8
sizeof-size_t: 8
shell-path: /bin/sh
feature: fsmonitor--daemon
libcurl: 8.7.1
zlib: 1.2.12
SHA-1: SHA1_DC
SHA-256: SHA256_BLK
uname: Darwin 24.5.0 Darwin Kernel Version 24.5.0: Tue Apr 22 19:54:25
PDT 2025; root:xnu-11417.121.6~2/RELEASE_ARM64_T6020 arm64
compiler info: clang: 17.0.0 (clang-1700.0.13.3)
libc info: no libc information available
$SHELL (typically, interactive shell): /bin/zsh
[Enabled Hooks]
-- 
________________________________

Oren Levi
Next: Junio C Hamano
Message 1 of 3 in “bug: `git commit --verbose` not removing text below scissor-line”
  1. Oren LeviJul 10, 2025
  2. Junio C HamanoJul 10, 2025
  3. Eric SunshineJul 10, 2025

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.