]> source.dussan.org Git - jgit.git/commit
Introduce metaData compare between working tree and index entries 99/2199/4
authorChristian Halstrick <christian.halstrick@sap.com>
Fri, 31 Dec 2010 13:42:41 +0000 (14:42 +0100)
committerChris Aniszczyk <caniszczyk@gmail.com>
Fri, 21 Jan 2011 15:23:06 +0000 (09:23 -0600)
commitc62882191f5c9cc30a7a1cc8a1ad67c368090ceb
tree825b085e7991a1651833abd058e15bd8008cbe91
parent5e2e3819a690b739eba773415899d20db88a452e
Introduce metaData compare between working tree and index entries

Instead of offering only a high-level isModified() method a new
method compareMetadata() is introduced which compares a working tree entry
and a index entry by looking at metadata only. Some use-cases
(e.g. computing the content-id in idBuffer()) may use this new method
instead of isModified().

Change-Id: I4de7501d159889fbac5ae6951f4fef8340461b47
Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.com>
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/treewalk/WorkingTreeIterator.java