git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Jonas Flodén" <jonas.floden@gmail.com>
To: git@vger.kernel.org
Subject: Re: Problem Creating Commit Messages
Date: Fri, 27 Mar 2009 08:56:07 +0100	[thread overview]
Message-ID: <gqi0qn$i3k$1@ger.gmane.org> (raw)
In-Reply-To: <22735968.post@talk.nabble.com>

bggy wrote:
> Hello, I'm new to git and I haven't been able to create commit messages in
> either vim or textmate(changed core.editor to mate).  I can create commit
> messages when I use the -m option, but I like creating multiple-line
> messages and it's easier to do it with a fresh line-break in the terminal.
> 
> Using textmate I saved and closed the textmate file that pops up after $git
> commit -a, but git responds that the commit was terminated due to an empty
> message.
> 

Hi there,
For TextMate to work with Git you need to add the option -w to "mate"
which will specify that it should wait for the file to be closed.

So set EDITOR="mate -w" and it should work with TextMate.


With regards,
Jonas

      parent reply	other threads:[~2009-03-27  7:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-27  4:44 Problem Creating Commit Messages bggy
2009-03-27  5:18 ` Geoffrey Lee
2009-03-27  6:08 ` John Tapsell
2009-03-27  7:56 ` Jonas Flodén [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='gqi0qn$i3k$1@ger.gmane.org' \
    --to=jonas.floden@gmail.com \
    --cc=git@vger.kernel.org \
    /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).