Example usage for org.eclipse.jgit.lib ConfigConstants CONFIG_KEY_MERGEOPTIONS

List of usage examples for org.eclipse.jgit.lib ConfigConstants CONFIG_KEY_MERGEOPTIONS

Introduction

In this page you can find the example usage for org.eclipse.jgit.lib ConfigConstants CONFIG_KEY_MERGEOPTIONS.

Prototype

String CONFIG_KEY_MERGEOPTIONS

To view the source code for org.eclipse.jgit.lib ConfigConstants CONFIG_KEY_MERGEOPTIONS.

Click Source Link

Document

The "mergeoptions" key

Usage

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();
}