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 under RedHat 5.8) Or something I'm not supposed to do ;-) ?


David Wade
Analyst, Seismic Imaging Development
Statoil ASA

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

Visitor address: Vassbotnen 23, Forus, Norway
Incorporation number: NO 923 609 016 MVA
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
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to