From: Linus Arver <linusa@google.com>
To: Konstantin Ryabitsev <konstantin@linuxfoundation.org>,
Ruben Ticehurst-James <rs_ticehurstjames@apple.com>
Cc: git@vger.kernel.org, git-security@googlegroups.com
Subject: Re: "git commit -m" bug
Date: Fri, 30 Jun 2023 10:38:47 -0700 [thread overview]
Message-ID: <owly1qhs97fc.fsf@fine.c.googlers.com> (raw)
In-Reply-To: <20230630-staid-welcome-howl-da79f0@meerkat>
Konstantin Ryabitsev <konstantin@linuxfoundation.org> 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
prev parent reply other threads:[~2023-06-30 17:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <5C7CF0D9-4C6F-4207-BA4B-8AC9B472BD75@apple.com>
2023-06-30 14:17 ` "git commit -m" bug Konstantin Ryabitsev
2023-06-30 17:38 ` Linus Arver [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=owly1qhs97fc.fsf@fine.c.googlers.com \
--to=linusa@google.com \
--cc=git-security@googlegroups.com \
--cc=git@vger.kernel.org \
--cc=konstantin@linuxfoundation.org \
--cc=rs_ticehurstjames@apple.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).