Re: "git commit -m" bug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Konstantin Ryabitsev <konstantin@xxxxxxxxxxxxxxxxxxx> writes:

> On Fri, Jun 30, 2023 at 02:30:55PM +0100, 'Ruben Ticehurst-James' via Git Security wrote:
>> 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

@Ruben: For completeness, if you use single quotes the exclamantion
points should stay as-is (double quotes expand variables and special
things like `!!`, but single quotes do not).

Cheers,
Linus




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux