summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/resources
diff options
context:
space:
mode:
authorChristian Halstrick <christian.halstrick@sap.com>2010-12-31 14:42:41 +0100
committerChris Aniszczyk <caniszczyk@gmail.com>2011-01-21 09:23:06 -0600
commitc62882191f5c9cc30a7a1cc8a1ad67c368090ceb (patch)
tree825b085e7991a1651833abd058e15bd8008cbe91 /org.eclipse.jgit/resources
parent5e2e3819a690b739eba773415899d20db88a452e (diff)
downloadjgit-c62882191f5c9cc30a7a1cc8a1ad67c368090ceb.tar.gz
jgit-c62882191f5c9cc30a7a1cc8a1ad67c368090ceb.zip
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>
Diffstat (limited to 'org.eclipse.jgit/resources')
-rw-r--r--org.eclipse.jgit/resources/org/eclipse/jgit/JGitText.properties1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.jgit/resources/org/eclipse/jgit/JGitText.properties b/org.eclipse.jgit/resources/org/eclipse/jgit/JGitText.properties
index 3049ae7d09..c03c64929d 100644
--- a/org.eclipse.jgit/resources/org/eclipse/jgit/JGitText.properties
+++ b/org.eclipse.jgit/resources/org/eclipse/jgit/JGitText.properties
@@ -419,6 +419,7 @@ unableToCheckConnectivity=Unable to check connectivity.
unableToStore=Unable to store {0}.
unableToWrite=Unable to write {0}
unencodeableFile=Unencodeable file: {0}
+unexpectedCompareResult=Unexpected metadata comparison result: {0}
unexpectedEndOfConfigFile=Unexpected end of config file
unexpectedHunkTrailer=Unexpected hunk trailer
unexpectedOddResult=odd: {0} + {1} - {2}