List of usage examples for org.eclipse.jgit.lib ConfigConstants CONFIG_KEY_MERGEOPTIONS
String CONFIG_KEY_MERGEOPTIONS
To view the source code for org.eclipse.jgit.lib ConfigConstants CONFIG_KEY_MERGEOPTIONS.
Click Source Link
From source file:org.eclipse.egit.core.test.op.MergeOperationTest.java
License:Open Source License
private void setMergeOptions(String branch, FastForwardMode ffMode) throws IOException { StoredConfig config = testRepository.getRepository().getConfig(); config.setEnum(ConfigConstants.CONFIG_BRANCH_SECTION, branch, ConfigConstants.CONFIG_KEY_MERGEOPTIONS, ffMode);//from w w w . ja v a 2 s . co m config.save(); }