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

Re: "git commit -m" bug

From
Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Date
Jun 30, 2023, 14:17 UTC
Message-ID
<20230630-staid-welcome-howl-da79f0@meerkat>
In-Reply-To
<5C7CF0D9-4C6F-4207-BA4B-8AC9B472BD75@apple.com>
On Fri, Jun 30, 2023 at 02:30:55PM +0100, 'Ruben Ticehurst-James' via Git Security wrote:
Show 11 quoted lines
> Hello I am reporting a (potential) bug in git: 
> 
> when I use triple exclamation marks in a commit message (for an example):
> 
> git commit -m “WORKING!!! WOOOO” (command above was git add .)
> 
> or 
> 
> git commit -m "Checking !!! Git” (command above was ls)
> 
> It will instead copy over the last command I used. The two above commands produce this output: 
This is done by your shell (bash). For example, try this:

echo "hello" echo "hello!!"

-K
Next: Linus Arver
Message 1 of 2 in “Re: "git commit -m" bug”
  1. Konstantin RyabitsevJun 30, 2023
  2. Linus ArverJun 30, 2023

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.