[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. -- --- You received this message because you are subscribed to the Google Groups "magit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
