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

RE: Is this a bug?

From
DWDavid Wade <dawad@statoil.com>
Date
Feb 19, 2013, 09:32 UTC
Message-ID
<937BB05095F39E46B969256AA776205322B2CF15C7@ST-EXCL29.statoil.net>
Hi,
I wrote a commit message beginning with a hash (#) character, like this: 'git commit -m "#ifdef ...." '
Everything went okay when committing, but then I tried 'git commit -amend' and without editing the commit message I was told I had an empty commit message.
Is this a problem with my text editor (vim 7.2) or git itself? (git version 1.7.2.2 under RedHat 5.8) Or something I'm not supposed to do ;-) ?
Thanks!

David Wade Analyst, Seismic Imaging Development ITC SUB RES Statoil ASA

Mobile: +47 97572157
Email: dawad@statoil.com

Visitor address: Vassbotnen 23, Forus, Norway Incorporation number: NO 923 609 016 MVA www.statoil.com Please consider the environment before printing this e-mail.

------------------------------------------------------------------- The information contained in this message may be CONFIDENTIAL and is intended for the addressee only. Any unauthorised use, dissemination of the information or copying of this message is prohibited. If you are not the addressee, please notify the sender immediately by return e-mail and delete this message. Thank you

Next: Andreas Ericsson
Message 1 of 6 in “RE: Is this a bug?”
  1. David WadeFeb 19, 2013
  2. Andreas EricssonFeb 19, 2013
  3. Erik Faye-LundFeb 19, 2013
  4. Duy NguyenFeb 19, 2013
  5. Phil HordFeb 22, 2013
  6. Junio C HamanoFeb 22, 2013

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.