{"thread":{"id":"59933","subject":"Re: \"git commit -m\" bug","startedAt":"2023-06-30T14:17:41Z","lastAt":"2023-06-30T17:38:54Z","messageCount":2,"participants":["Konstantin Ryabitsev","Linus Arver"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"479052","messageId":"20230630-staid-welcome-howl-da79f0@meerkat","threadId":"59933","inReplyTo":"5C7CF0D9-4C6F-4207-BA4B-8AC9B472BD75@apple.com","subject":"Re: \"git commit -m\" bug","fromName":"Konstantin Ryabitsev","fromEmail":"konstantin@linuxfoundation.org","sentAt":"2023-06-30T14:17:24Z","receivedAt":"2023-06-30T14:17:41Z","isPatch":false,"sender":{"key":"konstantin@linuxfoundation.org","avatar":"https://gravatar.com/avatar/7cb8827c6de56e1bd2dea16508c6708aa43feed3bf3813bcdacecdf96ceadd79?d=mp&s=160"},"body":"On Fri, Jun 30, 2023 at 02:30:55PM +0100, 'Ruben Ticehurst-James' via Git Security wrote:\n> Hello I am reporting a (potential) bug in git: \n> \n> when I use triple exclamation marks in a commit message (for an example):\n> \n> git commit -m “WORKING!!! WOOOO” (command above was git add .)\n> \n> or \n> \n> git commit -m \"Checking !!! Git” (command above was ls)\n> \n> It will instead copy over the last command I used. The two above commands produce this output: \n\nThis is done by your shell (bash). For example, try this:\n\necho \"hello\"\necho \"hello!!\"\n\n-K\n"},{"id":"479058","messageId":"owly1qhs97fc.fsf@fine.c.googlers.com","threadId":"59933","inReplyTo":"20230630-staid-welcome-howl-da79f0@meerkat","subject":"Re: \"git commit -m\" bug","fromName":"Linus Arver","fromEmail":"linusa@google.com","sentAt":"2023-06-30T17:38:47Z","receivedAt":"2023-06-30T17:38:54Z","isPatch":false,"sender":{"key":"linus@ucla.edu","avatar":null},"body":"Konstantin Ryabitsev <konstantin@linuxfoundation.org> writes:\n\n> On Fri, Jun 30, 2023 at 02:30:55PM +0100, 'Ruben Ticehurst-James' via Git Security wrote:\n>> Hello I am reporting a (potential) bug in git: \n>> \n>> when I use triple exclamation marks in a commit message (for an example):\n>> \n>> git commit -m “WORKING!!! WOOOO” (command above was git add .)\n>> \n>> or \n>> \n>> git commit -m \"Checking !!! Git” (command above was ls)\n>> \n>> It will instead copy over the last command I used. The two above commands produce this output: \n>\n> This is done by your shell (bash). For example, try this:\n>\n> echo \"hello\"\n> echo \"hello!!\"\n>\n> -K\n\n@Ruben: For completeness, if you use single quotes the exclamantion\npoints should stay as-is (double quotes expand variables and special\nthings like `!!`, but single quotes do not).\n\nCheers,\nLinus\n"}]}