Package org.eclipse.egit.core.op.CreateLocalBranchOperation

Examples of org.eclipse.egit.core.op.CreateLocalBranchOperation.UpstreamConfig


    }
    updateEnabled();
  }

  private void upstreamConfigSelected() {
    UpstreamConfig config = getSelectedUpstreamConfig();
    for (UpstreamConfigSelectionListener listener : listeners)
      listener.upstreamConfigSelected(config);
  }
View Full Code Here


    if (this.ref != null) {
      String branchName = Repository.shortenRefName(ref.getName());
      BranchConfig branchConfig = new BranchConfig(
          repository.getConfig(), branchName);
      boolean alreadyConfigured = branchConfig.getMerge() != null;
      UpstreamConfig config;
      if (alreadyConfigured) {
        boolean rebase = branchConfig.isRebase();
        config = rebase ? UpstreamConfig.REBASE : UpstreamConfig.MERGE;
      } else {
        config = UpstreamConfig.getDefault(repository, Constants.R_REMOTES
View Full Code Here

TOP

Related Classes of org.eclipse.egit.core.op.CreateLocalBranchOperation.UpstreamConfig

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.