Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jgit-dev] configure jgit to always include gerrit ChangeId

Hi all,

 

We are using the jgitflow maven plugin [1] (version 1.0-m3), which in turn uses jgit (version 3.3.1.201403241930-r) [2].

 

Every commit generated by jgitflow must contain the gerrit changeID [3], as these commits will enter the gerrit dance later.

 

I took a look at jgit source code and noted  that class CommitCommand [4] has insertChangeId attribute, which default to false.

 

Is there any mean to always have this insertChangeId set to true, without changing the jgitflow maven plugin sources ? with some external configuration ?

 

Thanks

Christophe

 

[1] https://bitbucket.org/atlassian/jgit-flow/wiki/Home

[2] https://bitbucket.org/atlassian/jgit-flow/src/f78e05f8167357c7bc38a23db3f8c42a9a7fe475/pom.xml?at=develop

[3] http://gerrit.googlecode.com/svn/documentation/2.0/user-changeid.html

[3] https://github.com/eclipse/jgit/blob/master/org.eclipse.jgit/src/org/eclipse/jgit/api/CommitCommand.java

 


Back to the top