Codota Logo
MergeBaseGenerator.add
Code IndexAdd Codota to your IDE (free)

How to use
add
method
in
org.eclipse.jgit.revwalk.MergeBaseGenerator

Best Java code snippets using org.eclipse.jgit.revwalk.MergeBaseGenerator.add (Showing top 4 results out of 315)

  • Common ways to obtain MergeBaseGenerator
private void myMethod () {
MergeBaseGenerator m =
  • Codota IconRevWalk w;new MergeBaseGenerator(w)
  • Smart code suggestions by Codota
}
origin: org.eclipse.jgit/org.eclipse.jgit

void init(AbstractRevQueue p) throws IOException {
  try {
    for (;;) {
      final RevCommit c = p.next();
      if (c == null)
        break;
      add(c);
    }
    // Setup the condition used by carryOntoOne to detect a late
    // merge base and produce it on the next round.
    //
    recarryTest = branchMask | POPPED;
    recarryMask = branchMask | POPPED | MERGE_BASE;
    mergeBaseAncestor = walker.allocFlag();
    for (;;) {
      RevCommit c = _next();
      if (c == null) {
        break;
      }
      ret.add(c);
    }
  } finally {
    // Always free the flags immediately. This ensures the flags
    // will be available for reuse when the walk resets.
    //
    walker.freeFlag(branchMask | mergeBaseAncestor);
  }
}
origin: sonia.jgit/org.eclipse.jgit

void init(final AbstractRevQueue p) {
  try {
    for (;;) {
      final RevCommit c = p.next();
      if (c == null)
        break;
      add(c);
    }
  } finally {
    // Always free the flags immediately. This ensures the flags
    // will be available for reuse when the walk resets.
    //
    walker.freeFlag(branchMask);
    // Setup the condition used by carryOntoOne to detect a late
    // merge base and produce it on the next round.
    //
    recarryTest = branchMask | POPPED;
    recarryMask = branchMask | POPPED | MERGE_BASE;
  }
}
origin: theonedev/onedev

void init(AbstractRevQueue p) throws IOException {
  try {
    for (;;) {
      final RevCommit c = p.next();
      if (c == null)
        break;
      add(c);
    }
    // Setup the condition used by carryOntoOne to detect a late
    // merge base and produce it on the next round.
    //
    recarryTest = branchMask | POPPED;
    recarryMask = branchMask | POPPED | MERGE_BASE;
    mergeBaseAncestor = walker.allocFlag();
    for (;;) {
      RevCommit c = _next();
      if (c == null) {
        break;
      }
      ret.add(c);
    }
  } finally {
    // Always free the flags immediately. This ensures the flags
    // will be available for reuse when the walk resets.
    //
    walker.freeFlag(branchMask | mergeBaseAncestor);
  }
}
origin: berlam/github-bucket

void init(AbstractRevQueue p) throws IOException {
  try {
    for (;;) {
      final RevCommit c = p.next();
      if (c == null)
        break;
      add(c);
    }
    // Setup the condition used by carryOntoOne to detect a late
    // merge base and produce it on the next round.
    //
    recarryTest = branchMask | POPPED;
    recarryMask = branchMask | POPPED | MERGE_BASE;
    mergeBaseAncestor = walker.allocFlag();
    for (;;) {
      RevCommit c = _next();
      if (c == null) {
        break;
      }
      ret.add(c);
    }
  } finally {
    // Always free the flags immediately. This ensures the flags
    // will be available for reuse when the walk resets.
    //
    walker.freeFlag(branchMask | mergeBaseAncestor);
  }
}
org.eclipse.jgit.revwalkMergeBaseGeneratoradd

Popular methods of MergeBaseGenerator

  • <init>
  • carryOntoHistory
  • carryOntoOne
  • init
  • next
  • _next
  • carryOntoHistoryInnerLoop

Popular in Java

  • Reading from database using SQL prepared statement
  • getContentResolver (Context)
  • startActivity (Activity)
  • setContentView (Activity)
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Stack (java.util)
    The Stack class represents a last-in-first-out (LIFO) stack of objects. It extends class Vector with
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • DataSource (javax.sql)
    A factory for connections to the physical data source that this DataSource object represents. An alt
  • Runner (org.openjdk.jmh.runner)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now