Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » how to extend egit to pre-define commit message(egit extension point)
how to extend egit to pre-define commit message [message #1781003] Wed, 31 January 2018 09:10 Go to next message
dreamin shi is currently offline dreamin shiFriend
Messages: 1
Registered: January 2018
Junior Member
Do I have any method to write a plugin to extend egit to pre-define the commit message?

I look into plugin.xml but couldn't find any clue about this.

My designed procedure like this:
1. click my custom plugin into commit dialog
2. some commit message are already defined...(then I could commit directly)

We have a workitem-tracking system, we want our developers to commit with the associated workitem. One method is to write them manually; another method is to select some workitems and auto-complete the message..

Re: how to extend egit to pre-define commit message [message #1781224 is a reply to message #1781003] Sat, 03 February 2018 10:09 Go to previous message
Thomas Wolf is currently offline Thomas WolfFriend
Messages: 64
Registered: August 2016
Take a look at the org.eclipse.egit.ui.commitMessageProvider extension point.
Previous Topic:EGit push/pull crashes in presence of ed25519 key
Next Topic:Possible to do the same as "git checkout master -- ." command line?
Goto Forum:

Current Time: Sun Mar 25 05:36:58 GMT 2018

Powered by FUDForum. Page generated in 0.02570 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software