On Aug 29, 2013, at 10:20 AM, Tom Davis <[email protected]> wrote:

> 
> [email protected] writes:
> 
>> Hello Everyone,
>> 
>> How can I insert a default/custom commit message to *magit-edit-log* buffer
>> from a file say .gitmessage.txt? I have this on command line but not inside
>> magit.
>> I tried insert'ing from *magit-pop-to-log-edit *function, but no results so
>> far.  mrwacky42 <https://github.com/mrwacky42> opened a 
>> issue<https://github.com/magit/magit/pull/504>long back.
>> 
>> Can anyone give me a pointer?
> 
> You could add a hook to `git-commit-mode-hook' that finds, e.g.,
> ".gitmessage.txt" and spits it into the buffer.

I hope this doesn't confuse the original poster.  It relates to the "multiple 
regressions" thread.

Is this part of the reason for the new commit method?  So that things that work 
on the
command line via normal git tools will also work from inside magit?

Perry

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to