Tabnine Logo
MergeCommand$FastForwardMode$Merge
Code IndexAdd Tabnine to your IDE (free)

How to use
MergeCommand$FastForwardMode$Merge
in
org.eclipse.jgit.api

Best Java code snippets using org.eclipse.jgit.api.MergeCommand$FastForwardMode$Merge (Showing top 2 results out of 315)

origin: berlam/github-bucket

  private FastForwardMode getFastForwardMode() {
    if (fastForwardMode != null) {
      return fastForwardMode;
    }
    Config config = repo.getConfig();
    Merge ffMode = config.getEnum(Merge.values(),
        ConfigConstants.CONFIG_PULL_SECTION, null,
        ConfigConstants.CONFIG_KEY_FF, null);
    return ffMode != null ? FastForwardMode.valueOf(ffMode) : null;
  }
}
origin: org.eclipse.jgit/org.eclipse.jgit

  private FastForwardMode getFastForwardMode() {
    if (fastForwardMode != null) {
      return fastForwardMode;
    }
    Config config = repo.getConfig();
    Merge ffMode = config.getEnum(Merge.values(),
        ConfigConstants.CONFIG_PULL_SECTION, null,
        ConfigConstants.CONFIG_KEY_FF, null);
    return ffMode != null ? FastForwardMode.valueOf(ffMode) : null;
  }
}
org.eclipse.jgit.apiMergeCommand$FastForwardMode$Merge

Javadoc

The modes available for fast forward merges corresponding to the options under merge.ff.

Most used methods

  • values

Popular in Java

  • Start an intent from android
  • putExtra (Intent)
  • getApplicationContext (Context)
  • scheduleAtFixedRate (Timer)
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • JLabel (javax.swing)
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now