public class MergeConfig extends Object
| Modifier and Type | Method and Description |
|---|---|
static MergeConfig |
getConfigForCurrentBranch(Repository repo) |
MergeCommand.FastForwardMode |
getFastForwardMode() |
static Config.SectionParser<MergeConfig> |
getParser(String branch) |
boolean |
isCommit() |
boolean |
isSquash() |
public static MergeConfig getConfigForCurrentBranch(Repository repo)
repo - public static final Config.SectionParser<MergeConfig> getParser(String branch)
branch - short branch name to get the configuration for, as returned
e.g. by Repository.getBranch()Config.get(SectionParser)public MergeCommand.FastForwardMode getFastForwardMode()
public boolean isSquash()
public boolean isCommit()
Copyright © 2014. All rights reserved.