]> source.dussan.org Git - jgit.git/commit
Added a preliminary version of rename detection 29/1029/5
authorJeff Schumacher <jeffschu@google.com>
Thu, 1 Jul 2010 22:30:46 +0000 (15:30 -0700)
committerJeff Schumacher <jeffschu@google.com>
Fri, 2 Jul 2010 00:33:53 +0000 (17:33 -0700)
commitcb8e1e6014c9cbac9c557df519ad7e22bdcf7d7d
tree2012f0a40fa74014ec79a354c9790d196b517905
parent7b0b4110ed4f63efed25af2f03bf01d2715c5fbf
Added a preliminary version of rename detection

JGit does not currently do rename detection during diffs. I added
a class that, given a TreeWalk to iterate over, can output a list
of DiffEntry's for that TreeWalk, taking into account renames. This
class only detects renames by SHA1's. More complex rename detection,
along the lines of what C Git does will be added later.

Change-Id: I93606ce15da70df6660651ec322ea50718dd7c04
org.eclipse.jgit.test/tst/org/eclipse/jgit/diff/RenameDetectorTest.java [new file with mode: 0644]
org.eclipse.jgit/resources/org/eclipse/jgit/JGitText.properties
org.eclipse.jgit/src/org/eclipse/jgit/JGitText.java
org.eclipse.jgit/src/org/eclipse/jgit/diff/RenameDetector.java [new file with mode: 0644]
org.eclipse.jgit/src/org/eclipse/jgit/lib/AbbreviatedObjectId.java