Skip to content
Snippets Groups Projects
  1. Jan 06, 2010
    • Christian Halstrick's avatar
      Add file content merge algorithm · 6d930cd5
      Christian Halstrick authored
      
      Adds the file content merge alorithm and tests for merge to jgit.
      The merge algorithm:
      
      - Gets as input parameters the common base, the two new contents
        called "ours" and "theirs".
      
      - Computes the Edits from base to ours and from base to theirs with
        the help of MyersDiff.
      
      - Iterates over the edits.
      
      - Independent edits from ours or from theirs will just be applied
        to the result.
      
      - For conflicting edits we first harmonize the ranges of the edits
        so that in the end we have exactly two edits starting and ending
        at the same points in the common base. Then we write the two
        conclicting contents into the result stream.
      
      Change-Id: I411862393e7bf416b6f33ca55ec5af608ff4663
      Signed-off-by: default avatarChristian Halstrick <christian.halstrick@sap.com>
      [sp: Fixed up two awkard comments in documentation.]
      Signed-off-by: default avatarShawn O. Pearce <spearce@spearce.org>
      6d930cd5
  2. Nov 04, 2009
  3. Oct 09, 2009
    • Christian Halstrick's avatar
      Add javadoc comments, remove unused code, shift comments to correct place · 2484ad6f
      Christian Halstrick authored
      This change only fixes warnings of the eclipse build regarding missing javadocs.
      Some comments where just missing, so they have been added. Other comments where
      at the wrong (from eclipse point of view) place, so eclipse was complaining.
      Also two method which existed for debugging purposes have been removed to get
      rid of Eclipse warngins about unused code.
      2484ad6f
  4. Oct 08, 2009
  5. Oct 07, 2009
  6. Oct 06, 2009
  7. Oct 05, 2009
  8. Oct 02, 2009
  9. Oct 01, 2009
  10. Sep 30, 2009
  11. Sep 29, 2009
Loading