]> source.dussan.org Git - jgit.git/commit
Added further support for whitespace ignoring during diff 79/979/2
authorJeff Schumacher <jeffschu@google.com>
Mon, 28 Jun 2010 20:03:44 +0000 (13:03 -0700)
committerJeff Schumacher <jeffschu@google.com>
Tue, 29 Jun 2010 00:25:19 +0000 (17:25 -0700)
commit9869ef2592b1fea3a75ae17a67d55025382fdb82
tree64d9e6e427db4e583da77bf3ae2c5b4f10209d75
parent543235b805d73b30f778255415ff2ec0d64b4334
Added further support for whitespace ignoring during diff

Added code to support ignoring leading, trailing, and changed
whitespace when performing a diff operation. I also added command
line options to Diff to enable the various whitespace ignoring
methods. These match the flags for git diff.

Change-Id: Ie56301aafad59ee3f0fe5de62719f5023cd702c8
org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Diff.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/diff/RawTextIgnoreLeadingWhitespaceTest.java [new file with mode: 0644]
org.eclipse.jgit.test/tst/org/eclipse/jgit/diff/RawTextIgnoreTrailingWhitespaceTest.java [new file with mode: 0644]
org.eclipse.jgit.test/tst/org/eclipse/jgit/diff/RawTextIgnoreWhitespaceChangeTest.java [new file with mode: 0644]
org.eclipse.jgit/src/org/eclipse/jgit/diff/RawTextIgnoreLeadingWhitespace.java [new file with mode: 0644]
org.eclipse.jgit/src/org/eclipse/jgit/diff/RawTextIgnoreTrailingWhitespace.java [new file with mode: 0644]
org.eclipse.jgit/src/org/eclipse/jgit/diff/RawTextIgnoreWhitespaceChange.java [new file with mode: 0644]